diff options
author | Joe Perches <joe@perches.com> | 2010-11-15 06:12:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-17 13:37:52 -0500 |
commit | ece49153b601d95bcebd45a6394e370972f0b0a0 (patch) | |
tree | d4471256b69ce4d71458dca460621990eec503be /drivers/net/dm9000.c | |
parent | 5f54cebb13cdb8dcd85036f8bee29f14db18b6e1 (diff) |
drivers/net: Remove unnecessary casts of netdev_priv
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dm9000.c')
-rw-r--r-- | drivers/net/dm9000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dm9000.c b/drivers/net/dm9000.c index 9f6aeefa06bf..2d4c4fc1d900 100644 --- a/drivers/net/dm9000.c +++ b/drivers/net/dm9000.c | |||
@@ -1675,7 +1675,7 @@ dm9000_drv_remove(struct platform_device *pdev) | |||
1675 | platform_set_drvdata(pdev, NULL); | 1675 | platform_set_drvdata(pdev, NULL); |
1676 | 1676 | ||
1677 | unregister_netdev(ndev); | 1677 | unregister_netdev(ndev); |
1678 | dm9000_release_board(pdev, (board_info_t *) netdev_priv(ndev)); | 1678 | dm9000_release_board(pdev, netdev_priv(ndev)); |
1679 | free_netdev(ndev); /* free device structure */ | 1679 | free_netdev(ndev); /* free device structure */ |
1680 | 1680 | ||
1681 | dev_dbg(&pdev->dev, "released and freed device\n"); | 1681 | dev_dbg(&pdev->dev, "released and freed device\n"); |