staging: gasket Fix comparison with Null
authorMayank Suman <mayanksuman@live.com>
Fri, 19 Feb 2021 17:41:14 +0000 (23:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:25:27 +0000 (09:25 +0100)
commit05196d33ce409eef158e064af91cdb3fd7aa639e
tree4f0a7934238a1ee6858c27244bf027c477fe3cc0
parent6c231d8e157126a726968da02b478d6601f29758
staging: gasket Fix comparison with Null

Comparison with NULL is redundant
as pointer will evaluate to true if is non-NULL.
The change was suggested by checkpatch.pl.

Signed-off-by: Mayank Suman <mayanksuman@live.com>
Link: https://lore.kernel.org/r/PS1PR04MB2934D85E82A3730349F56FE9D6849@PS1PR04MB2934.apcprd04.prod.outlook.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_sysfs.c