summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/xfp_phy.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-05-16 21:20:00 +0100
committerJeff Garzik <jgarzik@redhat.com>2008-05-22 05:59:33 -0400
commitd3208b5ebae9e62c32f0cf74dce1d4ddfac3f895 (patch)
treebbb47346216735e8e6ffb4c9f4be89ac0de0a12a /drivers/net/sfc/xfp_phy.c
parent5daab96d873721cb84f4583f232b88fcd67c51fb (diff)
downloadop-kernel-dev-d3208b5ebae9e62c32f0cf74dce1d4ddfac3f895.zip
op-kernel-dev-d3208b5ebae9e62c32f0cf74dce1d4ddfac3f895.tar.gz
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/xfp_phy.c')
-rw-r--r--drivers/net/sfc/xfp_phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/xfp_phy.c b/drivers/net/sfc/xfp_phy.c
index 3b9f9dd..cf75fab 100644
--- a/drivers/net/sfc/xfp_phy.c
+++ b/drivers/net/sfc/xfp_phy.c
@@ -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),
OpenPOWER on IntegriCloud