Staging: lustre: lnet: Remove explicit NULL comparision
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 9 Feb 2016 13:12:53 +0000 (18:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:29:42 +0000 (19:29 -0800)
commit1f01063f714692ce5ea675ba2724e07cf9acbfcb
tree2cc8e010eb225611a61c6ea33e517c304cef7227
parentbea7433bac02b1fcee71494b3939e9feed2790cf
Staging: lustre: lnet: Remove explicit NULL comparision

Replaced explicit NULL comparision with its simplier form.
Found using coccinelle:

@replace_rule@
expression e;
@@

-e == NULL
+ !e

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/lib-md.c