mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ int wep_change_key(struct wlandevice *wlandev, int keynum, u8 *key, int keylen)
|
|||
return -1;
|
||||
if (keylen >= MAX_KEYLEN)
|
||||
return -1;
|
||||
if (key == NULL)
|
||||
if (!key)
|
||||
return -1;
|
||||
if (keynum < 0)
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue