fs: compat: remove redundant check of nr_segs
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 22 Aug 2016 07:45:59 +0000 (15:45 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 27 Sep 2016 22:47:38 +0000 (18:47 -0400)
commit85e7340f21d3a88883e54cd2a5d7ebf04e827eeb
treef502ff9ce4bf2962a72c5b7f47532c8deb631f01
parenta818101d7b92e76db2f9a597e4830734767473b9
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>
fs/compat.c