diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2016-11-02 19:47:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-07 11:32:26 +0100 |
commit | 6c55d50e0c76f9ca4a6f15242f9eec4e3c679266 (patch) | |
tree | d45b66f1302548128a2598da277f127baae01907 /drivers/staging/wlan-ng | |
parent | staging: wlan-ng: remove two unnecessary blank lines (diff) | |
download | linux-6c55d50e0c76f9ca4a6f15242f9eec4e3c679266.tar.gz linux-6c55d50e0c76f9ca4a6f15242f9eec4e3c679266.tar.bz2 linux-6c55d50e0c76f9ca4a6f15242f9eec4e3c679266.zip |
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>
Diffstat (limited to 'drivers/staging/wlan-ng')
-rw-r--r-- | drivers/staging/wlan-ng/p80211req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/p80211req.c b/drivers/staging/wlan-ng/p80211req.c index b3b33d2e6447..3414fd80c803 100644 --- a/drivers/staging/wlan-ng/p80211req.c +++ b/drivers/staging/wlan-ng/p80211req.c @@ -141,7 +141,7 @@ int p80211req_dorequest(struct wlandevice *wlandev, u8 *msgbuf) p80211req_handlemsg(wlandev, msg); /* Pass it down to wlandev via wlandev->mlmerequest */ - if (wlandev->mlmerequest != NULL) + if (wlandev->mlmerequest) wlandev->mlmerequest(wlandev, msg); clear_bit(1, &(wlandev->request_pending)); |