staging: lustre: libcfs: remove explicit test of NULL variable
authorJames Simmons <jsimmons@infradead.org>
Thu, 17 Nov 2016 19:35:42 +0000 (14:35 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Nov 2016 07:47:31 +0000 (08:47 +0100)
commitdace63054678e88fd8e6119e00f87905006c4783
tree4221f34e82c47eac06eab09fff5c9f4c7bdec838
parente5ba965732307e14b8f851ce9cf24d8bb7f41ce3
staging: lustre: libcfs: remove explicit test of NULL variable

Remove != NULL which is not needed to test key existence.

Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/libcfs/libcfs_lock.c