Date: Sat, 26 Mar 2011 17:17:24 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r220040 - head/sys/kern Message-ID: <201103261717.p2QHHOx2028092@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jh Date: Sat Mar 26 17:17:24 2011 New Revision: 220040 URL: http://svn.freebsd.org/changeset/base/220040 Log: Fix some style issues in r219925. Reported by: bde MFC after: 1 month Modified: head/sys/kern/vfs_mount.c Modified: head/sys/kern/vfs_mount.c ============================================================================== --- head/sys/kern/vfs_mount.c Sat Mar 26 16:52:31 2011 (r220039) +++ head/sys/kern/vfs_mount.c Sat Mar 26 17:17:24 2011 (r220040) @@ -182,8 +182,7 @@ vfs_isopt_ro(const char *opt) if (strcmp(opt, "ro") == 0 || strcmp(opt, "rdonly") == 0 || strcmp(opt, "norw") == 0) return (1); - else - return (0); + return (0); } static int @@ -192,8 +191,7 @@ vfs_isopt_rw(const char *opt) if (strcmp(opt, "rw") == 0 || strcmp(opt, "noro") == 0) return (1); - else - return (0); + return (0); } /* @@ -228,7 +226,6 @@ vfs_equalopts(const char *opt1, const ch if ((vfs_isopt_ro(opt1) || vfs_isopt_rw(opt1)) && (vfs_isopt_ro(opt2) || vfs_isopt_rw(opt2))) return (1); - return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103261717.p2QHHOx2028092>