summaryrefslogtreecommitdiffstats
path: root/drivers/net/ucc_geth.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-19 09:10:11 +0200
committerJeff Garzik <jeff@garzik.org>2007-10-24 01:53:16 +0200
commit06efcad0d43a5491602f7d7bfc1ce997cdb0d062 (patch)
tree17ad5e11fc046c4b0fd8093af161fade77635fd2 /drivers/net/ucc_geth.c
parent[PARPORT] Remove unused 'irq' argument from parport irq functions (diff)
downloadlinux-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/ucc_geth.c')
-rw-r--r--drivers/net/ucc_geth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index bec413ba9bca..9741d613ba6f 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -3607,7 +3607,7 @@ static int ucc_geth_poll(struct napi_struct *napi, int budget)
static irqreturn_t ucc_geth_irq_handler(int irq, void *info)
{
- struct net_device *dev = (struct net_device *)info;
+ struct net_device *dev = info;
struct ucc_geth_private *ugeth = netdev_priv(dev);
struct ucc_fast_private *uccf;
struct ucc_geth_info *ug_info;