diff options
author | Julia Lawall <julia@diku.dk> | 2009-11-18 03:24:30 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-18 13:48:51 -0500 |
commit | d8bda9f12d5db160b594ce36659434620e19a363 (patch) | |
tree | 44076d4955e1db4cc2803be395194b53d7d99a10 | |
parent | 1ede9b52fa911c9a523cf6bc40b5a2b134db957c (diff) |
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>
-rw-r--r-- | drivers/net/wan/dscc4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/dscc4.c b/drivers/net/wan/dscc4.c index 81c8aec9df92..63a010252a37 100644 --- a/drivers/net/wan/dscc4.c +++ b/drivers/net/wan/dscc4.c | |||
@@ -1127,7 +1127,7 @@ done: | |||
1127 | init_timer(&dpriv->timer); | 1127 | init_timer(&dpriv->timer); |
1128 | dpriv->timer.expires = jiffies + 10*HZ; | 1128 | dpriv->timer.expires = jiffies + 10*HZ; |
1129 | dpriv->timer.data = (unsigned long)dev; | 1129 | dpriv->timer.data = (unsigned long)dev; |
1130 | dpriv->timer.function = &dscc4_timer; | 1130 | dpriv->timer.function = dscc4_timer; |
1131 | add_timer(&dpriv->timer); | 1131 | add_timer(&dpriv->timer); |
1132 | netif_carrier_on(dev); | 1132 | netif_carrier_on(dev); |
1133 | 1133 | ||