Skip to content
Commit 85e7340f authored by Shawn Lin's avatar Shawn Lin Committed by Al Viro
Browse files

fs: compat: remove redundant check of nr_segs



nr_segs should never be less than zero as its type
is unsigned long, so let's remove this check.

Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a818101d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment