From: Namhyung Kim Date: Wed, 25 Sep 2013 15:32:03 +0000 (+0900) Subject: libmount: Get rid of an unnecessary check X-Git-Tag: v2.24-rc1~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e868d1835bc04f479b669f855a0271d3d65f17bc;p=thirdparty%2Futil-linux.git libmount: Get rid of an unnecessary check libmount_debug_mask was OR'ed to MNT_DEBUG_INIT so it should be non-null. Thus the check is pointless. Signed-off-by: Namhyung Kim --- diff --git a/libmount/src/init.c b/libmount/src/init.c index d1b17f0489..a14637d759 100644 --- a/libmount/src/init.c +++ b/libmount/src/init.c @@ -40,7 +40,7 @@ void mnt_init_debug(int mask) libmount_debug_mask |= MNT_DEBUG_INIT; - if (libmount_debug_mask && libmount_debug_mask != MNT_DEBUG_INIT) { + if (libmount_debug_mask != MNT_DEBUG_INIT) { const char *ver = NULL; const char **features = NULL, **p;