staging: wilc1000: modified NULL check used for 'if' condition in delete_key()
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 2 May 2018 07:13:29 +0000 (12:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 20:56:34 +0000 (13:56 -0700)
commitccb4d02f8efb60a894ef67593483dae51ac8b8e7
tree06adf9df190e5b20d858164e52f6b7867ca56266
parente83d2fac784291d5bf72d44ea259aa501b6fda00
staging: wilc1000: modified NULL check used for 'if' condition in delete_key()

Fix below issue reported by checkpatch.pl script.

'Comparison to NULL could be written "priv->wilc_gtk[key_index]"'
'Comparison to NULL could be written "priv->wilc_ptk[key_index]"'

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c