diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-19 09:10:11 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-24 01:53:16 +0200 |
commit | 06efcad0d43a5491602f7d7bfc1ce997cdb0d062 (patch) | |
tree | 17ad5e11fc046c4b0fd8093af161fade77635fd2 /drivers/net/typhoon.c | |
parent | [PARPORT] Remove unused 'irq' argument from parport irq functions (diff) | |
download | linux-06efcad0d43a5491602f7d7bfc1ce997cdb0d062.tar.xz linux-06efcad0d43a5491602f7d7bfc1ce997cdb0d062.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/typhoon.c b/drivers/net/typhoon.c index 72e5e9be7e99..94ac5869bb18 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; |