Skip to content

Commit

Permalink
Remove identical if statements in module/spl/spl-vnode.c
Browse files Browse the repository at this point in the history
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: George Melikov <[email protected]>
Closes openzfs#594
  • Loading branch information
gmelikov authored and behlendorf committed Jan 19, 2017
1 parent 0194e4a commit 5cb4427
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions module/spl/spl-vnode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5cb4427

Please sign in to comment.