diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-05-16 16:20:00 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-22 05:59:33 -0400 |
commit | d3208b5ebae9e62c32f0cf74dce1d4ddfac3f895 (patch) | |
tree | bbb47346216735e8e6ffb4c9f4be89ac0de0a12a /drivers/net/sfc/efx.c | |
parent | 5daab96d873721cb84f4583f232b88fcd67c51fb (diff) |
sfc: Remove redundant casts to and from void *
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r-- | drivers/net/sfc/efx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index 11ee0d4407c4..449760642e31 100644 --- a/drivers/net/sfc/efx.c +++ b/drivers/net/sfc/efx.c | |||
@@ -1490,7 +1490,7 @@ static void efx_set_multicast_list(struct net_device *net_dev) | |||
1490 | static int efx_netdev_event(struct notifier_block *this, | 1490 | static int efx_netdev_event(struct notifier_block *this, |
1491 | unsigned long event, void *ptr) | 1491 | unsigned long event, void *ptr) |
1492 | { | 1492 | { |
1493 | struct net_device *net_dev = (struct net_device *)ptr; | 1493 | struct net_device *net_dev = ptr; |
1494 | 1494 | ||
1495 | if (net_dev->open == efx_net_open && event == NETDEV_CHANGENAME) { | 1495 | if (net_dev->open == efx_net_open && event == NETDEV_CHANGENAME) { |
1496 | struct efx_nic *efx = net_dev->priv; | 1496 | struct efx_nic *efx = net_dev->priv; |