mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 18:37:58 -04:00
staging: rtl8192u: Clean up comparison to NULL
Checkpatch recommended changes. Signed-off-by: simran singhal <singhalsimran0@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a090189cd0
commit
ce53f4fab7
@@ -67,7 +67,7 @@ static void *ieee80211_ccmp_init(int key_idx)
|
||||
struct ieee80211_ccmp_data *priv;
|
||||
|
||||
priv = kzalloc(sizeof(*priv), GFP_ATOMIC);
|
||||
if (priv == NULL)
|
||||
if (!priv)
|
||||
goto fail;
|
||||
priv->key_idx = key_idx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user