mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Fix some style issues in r219925.
Reported by: bde MFC after: 1 month
This commit is contained in:
parent
22508b0153
commit
9dc6abbd8a
1 changed files with 2 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue