]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib: (procfs.c) remove extraneous return statement
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 4 Dec 2025 19:00:32 +0000 (14:00 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 4 Dec 2025 19:00:32 +0000 (14:00 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
lib/procfs.c

index 47cc8eea2c75c39513829e80aa233079d0c9f372..ca34e54b066a9f1fb97515d7046af15cfb22b52e 100644 (file)
@@ -414,7 +414,6 @@ int fd_is_procfs(int fd)
        } while (ret != 0);
 
        return F_TYPE_EQUAL(st.f_type, STATFS_PROC_MAGIC);
-       return 0;
 }
 #else
 int fd_is_procfs(int fd __attribute__((__unused__)))