Commit 6b57bffa authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by David S. Miller

net: ethernet: broadcom: bcm63xx_enet: Drop empty platform remove function

A remove callback just returning 0 is equivalent to no remove callback
at all. So drop the useless function.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0798311c
...@@ -2784,17 +2784,11 @@ static int bcm_enet_shared_probe(struct platform_device *pdev) ...@@ -2784,17 +2784,11 @@ static int bcm_enet_shared_probe(struct platform_device *pdev)
return 0; return 0;
} }
static int bcm_enet_shared_remove(struct platform_device *pdev)
{
return 0;
}
/* this "shared" driver is needed because both macs share a single /* this "shared" driver is needed because both macs share a single
* address space * address space
*/ */
struct platform_driver bcm63xx_enet_shared_driver = { struct platform_driver bcm63xx_enet_shared_driver = {
.probe = bcm_enet_shared_probe, .probe = bcm_enet_shared_probe,
.remove = bcm_enet_shared_remove,
.driver = { .driver = {
.name = "bcm63xx_enet_shared", .name = "bcm63xx_enet_shared",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment