staging: qlge: fix comparison to NULL warning
authorJules Irenge <jbi.octave@gmail.com>
Thu, 10 Oct 2019 21:40:06 +0000 (22:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2019 09:07:28 +0000 (11:07 +0200)
commitdb4b23d5a898cda286e83fcb3650f0951a235d12
treee27925e9123cd1bb0a2170109691b8f1eb70487d
parente311f25e186560b0315e66707177ee152e718228
staging: qlge: fix comparison to NULL warning

Fix comparison to NULL by replacing with !ptr instead.
 Issue detected by checkpatch.

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Link: https://lore.kernel.org/r/20191010214006.23677-4-jbi.octave@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/qlge/qlge_dbg.c