summaryrefslogtreecommitdiffstats
path: root/drivers/net/typhoon.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-19 03:10:11 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-23 19:53:16 -0400
commit06efcad0d43a5491602f7d7bfc1ce997cdb0d062 (patch)
tree17ad5e11fc046c4b0fd8093af161fade77635fd2 /drivers/net/typhoon.c
parent5712cb3d81566893c3b14e24075cf48ec5c35d00 (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/typhoon.c')
-rw-r--r--drivers/net/typhoon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/typhoon.c b/drivers/net/typhoon.c
index 72e5e9be7e9..94ac5869bb1 100644
--- a/drivers/net/typhoon.c
+++ b/drivers/net/typhoon.c
@@ -1801,7 +1801,7 @@ typhoon_poll(struct napi_struct *napi, int budget)
static irqreturn_t
typhoon_interrupt(int irq, void *dev_instance)
{
- struct net_device *dev = (struct net_device *) dev_instance;
+ struct net_device *dev = dev_instance;
struct typhoon *tp = dev->priv;
void __iomem *ioaddr = tp->ioaddr;
u32 intr_status;