staging: wlan-ng: change comparison to NULL to preferred style.

Comparison to NULL could be written in preferred form.
Change it to comply with the standard kernel coding style.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sergio Paracuellos 2016-11-07 18:55:24 +01:00 committed by Greg Kroah-Hartman
parent b1f3b305d4
commit d7a711b06e

View File

@ -125,7 +125,7 @@ int wep_change_key(struct wlandevice *wlandev, int keynum, u8 *key, int keylen)
return -1; return -1;
if (keylen >= MAX_KEYLEN) if (keylen >= MAX_KEYLEN)
return -1; return -1;
if (key == NULL) if (!key)
return -1; return -1;
if (keynum < 0) if (keynum < 0)
return -1; return -1;