forked from Minki/linux
staging: wlan-ng: remove extra parentheses
Removes extra parentheses around function arguments. Issue detected and resolved using the following coccinelle script: @@ expression e; identifier f; @@ f(..., -( e -) ,...) Signed-off-by: Gargi Sharma <gs051095@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e65a60e5cd
commit
8954ef903f
@ -211,7 +211,7 @@ int skb_ether_to_p80211(struct wlandevice *wlandev, u32 ethconv,
|
||||
return -ENOMEM;
|
||||
foo = wep_encrypt(wlandev, skb->data, p80211_wep->data,
|
||||
skb->len,
|
||||
(wlandev->hostwep & HOSTWEP_DEFAULTKEY_MASK),
|
||||
wlandev->hostwep & HOSTWEP_DEFAULTKEY_MASK,
|
||||
p80211_wep->iv, p80211_wep->icv);
|
||||
if (foo) {
|
||||
netdev_warn(wlandev->netdev,
|
||||
|
Loading…
Reference in New Issue
Block a user