summaryrefslogtreecommitdiffstats
path: root/module/spl
diff options
context:
space:
mode:
authorGeorge Melikov <[email protected]>2017-01-20 01:32:45 +0300
committerBrian Behlendorf <[email protected]>2017-01-19 14:32:45 -0800
commit5cb44271b4c0b01afe5b84366e247f6d087df399 (patch)
tree75adbee84734045ac1e8328c851d4158ecb75ddd /module/spl
parent0194e4a03c394f0bb85cba78ac12f10c480c5670 (diff)
Remove identical if statements in module/spl/spl-vnode.c
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: George Melikov <[email protected]> Closes #594
Diffstat (limited to 'module/spl')
-rw-r--r--module/spl/spl-vnode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/module/spl/spl-vnode.c b/module/spl/spl-vnode.c
index addc61155..d02e81643 100644
--- a/module/spl/spl-vnode.c
+++ b/module/spl/spl-vnode.c
@@ -63,9 +63,6 @@ vn_mode_to_vtype(mode_t mode)
if (S_ISSOCK(mode))
return VSOCK;
- if (S_ISCHR(mode))
- return VCHR;
-
return VNON;
} /* vn_mode_to_vtype() */
EXPORT_SYMBOL(vn_mode_to_vtype);