staging: lustre: llite: Remove unnecessary test in if condition
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Wed, 2 Mar 2016 20:02:14 +0000 (01:32 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 23:28:13 +0000 (15:28 -0800)
commit5210a63ad9e58139ef378bb6668f2467e307fc70
tree150739db7a0ee3f31f27f3e6cd4b80507d1525de
parent7cadcc7c32f625403b58e23ab413dec330e34d92
staging: lustre: llite: Remove unnecessary test in if condition

Remove unnecessary test on `rc` variable since it has already been
tested previously.
Fixes following smatch warning:
drivers/staging/lustre/lustre/llite/llite_lib.c:1331 ll_setattr_raw()
warn: we tested 'rc' before and it was 'false'

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_lib.c