forked from Minki/linux
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:
parent
b1f3b305d4
commit
d7a711b06e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user