]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/sfc/efx.c
sfc: Remove redundant casts to and from void *
[linux-2.6-omap-h63xx.git] / drivers / net / sfc / efx.c
index 11ee0d4407c440bfb42ca19fee9e2b31e804807b..449760642e31b16040c33fbf0ba247fed834e6f9 100644 (file)
@@ -1490,7 +1490,7 @@ static void efx_set_multicast_list(struct net_device *net_dev)
 static int efx_netdev_event(struct notifier_block *this,
                            unsigned long event, void *ptr)
 {
-       struct net_device *net_dev = (struct net_device *)ptr;
+       struct net_device *net_dev = ptr;
 
        if (net_dev->open == efx_net_open && event == NETDEV_CHANGENAME) {
                struct efx_nic *efx = net_dev->priv;