Staging: gdm72xx: Remove unnecessary parenthesis around function pointer
authorShraddha Barke <shraddha.6596@gmail.com>
Wed, 17 Feb 2016 12:32:34 +0000 (18:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 23:36:49 +0000 (15:36 -0800)
No need for the parentheses around any function pointer.
Detected using checkpatch.

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/gdm_wimax.c

index 988d71a..859880c 100644 (file)
 #include "netlink_k.h"
 
 #define gdm_wimax_send(n, d, l)        \
-       (n->phy_dev->send_func)(n->phy_dev->priv_dev, d, l, NULL, NULL)
+       n->phy_dev->send_func(n->phy_dev->priv_dev, d, l, NULL, NULL)
 #define gdm_wimax_send_with_cb(n, d, l, c, b)  \
-       (n->phy_dev->send_func)(n->phy_dev->priv_dev, d, l, c, b)
+       n->phy_dev->send_func(n->phy_dev->priv_dev, d, l, c, b)
 #define gdm_wimax_rcv_with_cb(n, c, b) \
-       (n->phy_dev->rcv_func)(n->phy_dev->priv_dev, c, b)
+       n->phy_dev->rcv_func(n->phy_dev->priv_dev, c, b)
 
 #define EVT_MAX_SIZE   2048