diff options
author | Julia Lawall <julia@diku.dk> | 2009-11-18 03:22:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-18 13:48:40 -0500 |
commit | 6cc93183eef9ba0eb6e9989c2e3744904287a95e (patch) | |
tree | bc802b3f33dfb2d3c2dda5013a77a84f0d908e9e /drivers/net/irda | |
parent | 90145c9cae26002ebfb61f6566f6f15ca448f5d3 (diff) |
drivers/net/irda: 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>
Diffstat (limited to 'drivers/net/irda')
-rw-r--r-- | drivers/net/irda/irda-usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c index 215adf6377d0..ae6eab3e5eed 100644 --- a/drivers/net/irda/irda-usb.c +++ b/drivers/net/irda/irda-usb.c | |||
@@ -852,7 +852,7 @@ static void irda_usb_receive(struct urb *urb) | |||
852 | * hot unplug of the dongle... | 852 | * hot unplug of the dongle... |
853 | * Lowest effective timer is 10ms... | 853 | * Lowest effective timer is 10ms... |
854 | * Jean II */ | 854 | * Jean II */ |
855 | self->rx_defer_timer.function = &irda_usb_rx_defer_expired; | 855 | self->rx_defer_timer.function = irda_usb_rx_defer_expired; |
856 | self->rx_defer_timer.data = (unsigned long) urb; | 856 | self->rx_defer_timer.data = (unsigned long) urb; |
857 | mod_timer(&self->rx_defer_timer, jiffies + (10 * HZ / 1000)); | 857 | mod_timer(&self->rx_defer_timer, jiffies + (10 * HZ / 1000)); |
858 | return; | 858 | return; |