diff options
author | 2016-02-09 14:02:04 -0500 | |
---|---|---|
committer | 2016-02-11 19:37:15 -0800 | |
commit | 90cb147f3a701443f1e7e5b104e689b08f2677e3 (patch) | |
tree | b4e21b0d04606ec18941c0bcba072ec4d297227a /drivers/staging/unisys/visornic | |
parent | staging: unisys: remove unnecessary goto (diff) | |
download | linux-dev-90cb147f3a701443f1e7e5b104e689b08f2677e3.tar.xz linux-dev-90cb147f3a701443f1e7e5b104e689b08f2677e3.zip |
staging: unisys: Remove parentheses around right hand side of assignment
Remove parentheses on the right hand side of assignment as they are not
needed. Semantic patch used:
@@
expression a, b, c, d;
@@
(
a = (c == d)
|
a =
- (
b
- )
)
Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visornic')
-rw-r--r-- | drivers/staging/unisys/visornic/visornic_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visornic/visornic_main.c b/drivers/staging/unisys/visornic/visornic_main.c index 234fa2172e0f..df4f68895adc 100644 --- a/drivers/staging/unisys/visornic/visornic_main.c +++ b/drivers/staging/unisys/visornic/visornic_main.c @@ -1029,7 +1029,7 @@ visornic_set_multi(struct net_device *netdev) cmdrsp->net.type = NET_RCV_PROMISC; cmdrsp->net.enbdis.context = netdev; cmdrsp->net.enbdis.enable = - (netdev->flags & IFF_PROMISC); + netdev->flags & IFF_PROMISC; visorchannel_signalinsert(devdata->dev->visorchannel, IOCHAN_TO_IOPART, cmdrsp); @@ -1772,7 +1772,7 @@ static int visornic_probe(struct visor_device *dev) } netdev->netdev_ops = &visornic_dev_ops; - netdev->watchdog_timeo = (5 * HZ); + netdev->watchdog_timeo = 5 * HZ; SET_NETDEV_DEV(netdev, &dev->device); /* Get MAC adddress from channel and read it into the device. */ |