staging: lustre: ptlrpc: remove unnecessary code
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 11 May 2017 04:27:40 +0000 (23:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 05:41:59 +0000 (07:41 +0200)
commit3f514c35c04754337fc519e2ac10e518d9a0dcdd
tree72623ef7fdb4bccfcecea5c5021a8229b33b71bc
parent9f8e8caf54ce9e75fba76bbbc90ae69e51b9077e
staging: lustre: ptlrpc: remove unnecessary code

offset is an unsigned variable and, greater-than-or-equal-to-zero
comparison of an unsigned variable is always true.

Addresses-Coverity-ID: 1373919
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/layout.c