aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorJaakko Heinonen <jh@FreeBSD.org>2011-03-26 17:17:24 +0000
committerJaakko Heinonen <jh@FreeBSD.org>2011-03-26 17:17:24 +0000
commit9dc6abbd8a83e12af4eedd49ba232db76a80cc24 (patch)
tree215150b065173783925ec749e590089980a5cadd /sys/kern
parent22508b01534927e599e6f2e2b4e2f12548e02f07 (diff)
downloadsrc-9dc6abbd8a83e12af4eedd49ba232db76a80cc24.tar.gz
src-9dc6abbd8a83e12af4eedd49ba232db76a80cc24.zip
Fix some style issues in r219925.
Reported by: bde MFC after: 1 month
Notes
Notes: svn path=/head/; revision=220040
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_mount.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index b1d811207893..554521a9fb96 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -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 char *opt2)
if ((vfs_isopt_ro(opt1) || vfs_isopt_rw(opt1)) &&
(vfs_isopt_ro(opt2) || vfs_isopt_rw(opt2)))
return (1);
-
return (0);
}