]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/sfc/xfp_phy.c
sfc: Remove redundant casts to and from void *
[linux-2.6-omap-h63xx.git] / drivers / net / sfc / xfp_phy.c
index 3b9f9ddbc3725c9ed95e7b48bb910fc0aec57961..cf75fab3e77eb93b33a00e2596455c50bb685bd2 100644 (file)
@@ -85,7 +85,7 @@ static int xfp_phy_init(struct efx_nic *efx)
        int rc;
 
        phy_data = kzalloc(sizeof(struct xfp_phy_data), GFP_KERNEL);
-       efx->phy_data = (void *) phy_data;
+       efx->phy_data = phy_data;
 
        EFX_INFO(efx, "XFP: PHY ID reg %x (OUI %x model %x revision"
                 " %x)\n", devid, MDIO_ID_OUI(devid), MDIO_ID_MODEL(devid),