diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-02-17 21:14:15 +0100 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-02-17 21:47:24 +0100 |
commit | 9721dbb375a9db5f7f430601b7ec0393e1c59f82 (patch) | |
tree | bc7e87733527b9c646d2c75e76c8da4edd53088e | |
parent | cd1f402c18cf31b38bb304bc0c320669762ac50b (diff) | |
download | kernel_samsung_crespo-9721dbb375a9db5f7f430601b7ec0393e1c59f82.zip kernel_samsung_crespo-9721dbb375a9db5f7f430601b7ec0393e1c59f82.tar.gz kernel_samsung_crespo-9721dbb375a9db5f7f430601b7ec0393e1c59f82.tar.bz2 |
net/fec: remove unused driver data
Apart from not being used the first argument isn't even a struct
platform_device *.
Reported-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
-rw-r--r-- | drivers/net/fec.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 74798be..634c0da 100644 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c @@ -983,8 +983,6 @@ static int fec_enet_mii_init(struct platform_device *pdev) for (i = 0; i < PHY_MAX_ADDR; i++) fep->mii_bus->irq[i] = PHY_POLL; - platform_set_drvdata(ndev, fep->mii_bus); - if (mdiobus_register(fep->mii_bus)) goto err_out_free_mdio_irq; |