diff options
author | Shruti Kanetkar <Shruti@Freescale.com> | 2014-04-22 14:21:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-23 15:28:05 -0400 |
commit | 2ebb15820ef72b45846c1f5fcc5462f63aefe0b8 (patch) | |
tree | 9a80de6fdc2e07793786d82fa90b53188e33220d /drivers/net/phy/vitesse.c | |
parent | 8101a5679bf5343904128bc38fa96c0a6b066e69 (diff) | |
download | linux-rt-2ebb15820ef72b45846c1f5fcc5462f63aefe0b8.tar.gz |
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: Shruti Kanetkar <Shruti@Freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/vitesse.c')
-rw-r--r-- | drivers/net/phy/vitesse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c index 14372c65a7e8..5dc0935da99c 100644 --- a/drivers/net/phy/vitesse.c +++ b/drivers/net/phy/vitesse.c @@ -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); |