OpenCloudOS-Kernel/drivers/net/ethernet/arc
Uwe Kleine-König 20d5e0ef25 net: arc: Make arc_emac_remove() return void
The function returns zero unconditionally. Change it to return void instead
which simplifies its callers as error handing becomes unnecessary.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-05-19 13:33:28 +01:00
..
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-10-14 16:50:14 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
emac.h net: arc: Make arc_emac_remove() return void 2023-05-19 13:33:28 +01:00
emac_arc.c net: arc: Make arc_emac_remove() return void 2023-05-19 13:33:28 +01:00
emac_main.c net: arc: Make arc_emac_remove() return void 2023-05-19 13:33:28 +01:00
emac_mdio.c net: arc_emac: Fix use after free in arc_mdio_probe() 2022-03-10 14:49:21 -08:00
emac_rockchip.c net: arc: Make arc_emac_remove() return void 2023-05-19 13:33:28 +01:00