From: David van Moolenbroek Date: Sun, 12 Jul 2009 13:57:34 +0000 (+0000) Subject: MFS: remove some redundant code (reported by Maurizio Lombardi) X-Git-Tag: v3.1.5~216 X-Git-Url: http://zhaoyanbai.com/repos/cppcheck-error.log?a=commitdiff_plain;h=f80aaae86a46d117c5cd6e4684ef1c1189100019;p=minix.git MFS: remove some redundant code (reported by Maurizio Lombardi) --- diff --git a/servers/mfs/path.c b/servers/mfs/path.c index d49765f50..03763214b 100644 --- a/servers/mfs/path.c +++ b/servers/mfs/path.c @@ -827,7 +827,6 @@ char string[NAME_MAX]; /* component name to look for */ } } } - if (rip == NIL_INODE) return(NIL_INODE); /* See if the inode is mounted on. If so, switch to root directory of the * mounted file system. The super_block provides the linkage between the @@ -921,7 +920,6 @@ char string[NAME_MAX]; /* component name to look for */ } } } - if (rip == NIL_INODE) return(NIL_INODE); /* See if the inode is mounted on. If so, switch to root directory of the * mounted file system. The super_block provides the linkage between the