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: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Shawn Lin 2016-08-22 15:45:59 +08:00 • committed by Al Viro
commit 85e7340f21