mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
drivers/net/wan: remove exceptional & on function name
In this file, function names are otherwise used as pointers without &. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1ede9b52fa
commit
d8bda9f12d
@ -1127,7 +1127,7 @@ done:
|
||||
init_timer(&dpriv->timer);
|
||||
dpriv->timer.expires = jiffies + 10*HZ;
|
||||
dpriv->timer.data = (unsigned long)dev;
|
||||
dpriv->timer.function = &dscc4_timer;
|
||||
dpriv->timer.function = dscc4_timer;
|
||||
add_timer(&dpriv->timer);
|
||||
netif_carrier_on(dev);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user