From: Gargi Sharma Date: Sat, 18 Feb 2017 05:37:41 +0000 (+0530) Subject: staging: wlan-ng: remove extra parentheses X-Git-Tag: v4.12-rc1~84^2~963 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8954ef903fa5f86a42580bcf80cb0116ab2b3c02;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/p80211conv.c b/drivers/staging/wlan-ng/p80211conv.c index 8b0905e7c9be..a062e80361ef 100644 --- a/drivers/staging/wlan-ng/p80211conv.c +++ b/drivers/staging/wlan-ng/p80211conv.c @@ -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,