diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-12-28 00:45:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-12-30 10:28:49 +0300 |
commit | 6b57bffa5f675a01c7981ed271e8521e87441abd (patch) | |
tree | 022f263d8fed0f43c1c432487edf00674e3c44a7 /drivers/net/ethernet/broadcom | |
parent | 0798311cfd8739bbfba0b454dc828fe35dfa4d72 (diff) | |
download | linux-6b57bffa5f675a01c7981ed271e8521e87441abd.tar.xz |
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: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r-- | drivers/net/ethernet/broadcom/bcm63xx_enet.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.c b/drivers/net/ethernet/broadcom/bcm63xx_enet.c index d91fdb0c2649..2cf96892e565 100644 --- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c +++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c @@ -2784,17 +2784,11 @@ static int bcm_enet_shared_probe(struct platform_device *pdev) 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 * address space */ struct platform_driver bcm63xx_enet_shared_driver = { .probe = bcm_enet_shared_probe, - .remove = bcm_enet_shared_remove, .driver = { .name = "bcm63xx_enet_shared", .owner = THIS_MODULE, |