Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ebb1582 authored by Shruti Kanetkar's avatar Shruti Kanetkar Committed by David S. Miller
Browse files

net/phy: Remove return value for void function



This was caught when using a spatch (aka. coccinelle) script
written by Joe Perches.

Cc: Joe Perches <joe@perches.com>
Signed-off-by: default avatarShruti Kanetkar <Shruti@Freescale.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8101a567
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -253,8 +253,7 @@ static int __init atheros_init(void)

static void __exit atheros_exit(void)
{
	return phy_drivers_unregister(at803x_driver,
				      ARRAY_SIZE(at803x_driver));
	phy_drivers_unregister(at803x_driver, ARRAY_SIZE(at803x_driver));
}

module_init(atheros_init);
+1 −2
Original line number Diff line number Diff line
@@ -249,8 +249,7 @@ static int __init smsc_init(void)

static void __exit smsc_exit(void)
{
	return phy_drivers_unregister(smsc_phy_driver,
		ARRAY_SIZE(smsc_phy_driver));
	phy_drivers_unregister(smsc_phy_driver, ARRAY_SIZE(smsc_phy_driver));
}

MODULE_DESCRIPTION("SMSC PHY driver");
+1 −2
Original line number Diff line number Diff line
@@ -319,8 +319,7 @@ static int __init vsc82xx_init(void)

static void __exit vsc82xx_exit(void)
{
	return phy_drivers_unregister(vsc82xx_driver,
		ARRAY_SIZE(vsc82xx_driver));
	phy_drivers_unregister(vsc82xx_driver, ARRAY_SIZE(vsc82xx_driver));
}

module_init(vsc82xx_init);