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: remove unnecessary parentheses
Avoid no necessary parentheses 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
6c55d50e0c
commit
d4e1818a4c
1 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ int p80211req_dorequest(struct wlandevice *wlandev, u8 *msgbuf)
|
|||
}
|
||||
|
||||
/* Check for busy status */
|
||||
if (test_and_set_bit(1, &(wlandev->request_pending)))
|
||||
if (test_and_set_bit(1, &wlandev->request_pending))
|
||||
return -EBUSY;
|
||||
|
||||
/* Allow p80211 to look at msg and handle if desired. */
|
||||
|
@ -144,7 +144,7 @@ int p80211req_dorequest(struct wlandevice *wlandev, u8 *msgbuf)
|
|||
if (wlandev->mlmerequest)
|
||||
wlandev->mlmerequest(wlandev, msg);
|
||||
|
||||
clear_bit(1, &(wlandev->request_pending));
|
||||
clear_bit(1, &wlandev->request_pending);
|
||||
return 0; /* if result==0, msg->status still may contain an err */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue