staging/lustre/obdecho: Remove always true condition
authorOleg Drokin <green@linuxhacker.ru>
Wed, 10 Feb 2016 18:00:18 +0000 (13:00 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:29:55 +0000 (19:29 -0800)
commit61ece0e60d5db836dcec2707c3c89bc83ac2046d
treeb7f1bcb5af886e6a57d8c3333259f7bd97fcca3a
parenta4e872f7b629c9f5a4f83bb2a84ece91b89ade67
staging/lustre/obdecho: Remove always true condition

Dan Carpenter noticed that since we already checked for
(oa->o_valid & OBD_MD_FLID) == 0, that means
(oa->o_valid & OBD_MD_FLID) is always true after that so
no point in checking for it.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdecho/echo_client.c