staging: lustre: lnet: remove null check before kfree
authorSumit Pundir <pundirsumit11@gmail.com>
Sat, 20 Jan 2018 08:09:36 +0000 (13:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jan 2018 10:40:49 +0000 (11:40 +0100)
commita81200b5acb30460163f5b2ce393e54d6445fd5d
tree1f706e2ecf77cf1ba8aa42da5bc24d4d9633bb4e
parent142ad642cde315764c4d8589fc0ed5bf67a712e9
staging: lustre: lnet: remove null check before kfree

Since kfree(NULL) is safe there is no need to place a check before it.
Issue reported by checkpatch.pl

Signed-off-by: Sumit Pundir <pundirsumit11@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/lib-move.c