mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-14 09:47:20 +00: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:
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user