From e868d1835bc04f479b669f855a0271d3d65f17bc Mon Sep 17 00:00:00 2001 From: Namhyung Kim Date: Thu, 26 Sep 2013 00:32:03 +0900 Subject: [PATCH] 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 --- libmount/src/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2