diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-19 03:10:11 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-23 19:53:16 -0400 |
commit | 06efcad0d43a5491602f7d7bfc1ce997cdb0d062 (patch) | |
tree | 17ad5e11fc046c4b0fd8093af161fade77635fd2 /drivers/net/wan/sbni.c | |
parent | 5712cb3d81566893c3b14e24075cf48ec5c35d00 (diff) |
Eliminate pointless casts from void* in a few driver irq handlers.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/wan/sbni.c')
-rw-r--r-- | drivers/net/wan/sbni.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c index 76db40d200d8..2e8b5c2de887 100644 --- a/drivers/net/wan/sbni.c +++ b/drivers/net/wan/sbni.c | |||
@@ -502,8 +502,8 @@ sbni_start_xmit( struct sk_buff *skb, struct net_device *dev ) | |||
502 | static irqreturn_t | 502 | static irqreturn_t |
503 | sbni_interrupt( int irq, void *dev_id ) | 503 | sbni_interrupt( int irq, void *dev_id ) |
504 | { | 504 | { |
505 | struct net_device *dev = (struct net_device *) dev_id; | 505 | struct net_device *dev = dev_id; |
506 | struct net_local *nl = (struct net_local *) dev->priv; | 506 | struct net_local *nl = dev->priv; |
507 | int repeat; | 507 | int repeat; |
508 | 508 | ||
509 | spin_lock( &nl->lock ); | 509 | spin_lock( &nl->lock ); |