staging: lustre: remove invalid check
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 21 Sep 2015 13:33:58 +0000 (15:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:57:00 +0000 (03:57 +0200)
commit4346f9a01fe0846d1399292b53b24f6fde5bd2d9
treeeb784ebc4c3495ea4ad9252ca53b9aab3eb7aace
parentb2d023af6995b949c3661abed48c5e8266b1170b
staging: lustre: remove invalid check

Unsigned cannot be negative.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2038576

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/osc/lproc_osc.c