[PATCH] remove needless check in fs/read_write.c
authorCarsten Otte <cotte@de.ibm.com>
Sat, 25 Mar 2006 11:08:23 +0000 (03:08 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:23:01 +0000 (08:23 -0800)
commit6cc6b1226b71132a1d6e95449d78e051f1f3b506
treea301ab0b16a5135e777b96e1883f281fa711bf93
parent55148548124e3e52e8921f1cb0e325111ef9cbb1
[PATCH] remove needless check in fs/read_write.c

nr_segs is unsigned long and thus cannot be negative.  We checked against 0
few lines before.

Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/read_write.c