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:
Родитель
e65a60e5cd
Коммит
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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче