diff --git a/src/growfs/growfs.c b/src/growfs/growfs.c index b544538d9d..ff6a5909e7 100644 --- a/src/growfs/growfs.c +++ b/src/growfs/growfs.c @@ -93,10 +93,6 @@ static int maybe_resize_underlying_device( assert(mountfd >= 0); assert(mountpath); -#if HAVE_LIBCRYPTSETUP - cryptsetup_enable_logging(NULL); -#endif - r = get_block_device_harder_fd(mountfd, &devno); if (r < 0) return log_error_errno(r, "Failed to determine underlying block device of \"%s\": %m", diff --git a/src/home/homework.c b/src/home/homework.c index 578d5cce91..d63d481447 100644 --- a/src/home/homework.c +++ b/src/home/homework.c @@ -2005,8 +2005,6 @@ static int run(int argc, char *argv[]) { log_setup(); - cryptsetup_enable_logging(NULL); - umask(0022); if (argc < 2 || argc > 3) diff --git a/src/repart/repart.c b/src/repart/repart.c index 91cd77b448..fac2bd817a 100644 --- a/src/repart/repart.c +++ b/src/repart/repart.c @@ -11222,10 +11222,6 @@ static int run(int argc, char *argv[]) { if (r < 0) return r; -#if HAVE_LIBCRYPTSETUP - cryptsetup_enable_logging(NULL); -#endif - if (arg_varlink) return vl_server();