]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsfd: delete redundant parentheses surrounding return value
authorMasatake YAMATO <yamato@redhat.com>
Fri, 10 Mar 2023 06:10:11 +0000 (15:10 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Thu, 18 May 2023 18:26:57 +0000 (03:26 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd-unkn.c

index da616c6ccda39a0765500debaa87b9c1c82ee1a4..b1e0323c7c55a50713a1b2a042a93ce55f910c20 100644 (file)
@@ -165,7 +165,7 @@ struct anon_pidfd_data {
 
 static bool anon_pidfd_probe(const char *str)
 {
-       return (strncmp(str, "[pidfd]", 7) == 0);
+       return strncmp(str, "[pidfd]", 7) == 0;
 }
 
 static char *anon_pidfd_get_name(struct unkn *unkn)