diff options
author | Shruti Kanetkar <Shruti@Freescale.com> | 2014-04-22 15:21:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-23 15:28:05 -0400 |
commit | 2ebb15820ef72b45846c1f5fcc5462f63aefe0b8 (patch) | |
tree | 9a80de6fdc2e07793786d82fa90b53188e33220d /drivers/net/phy/smsc.c | |
parent | 8101a5679bf5343904128bc38fa96c0a6b066e69 (diff) |
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/smsc.c')
-rw-r--r-- | drivers/net/phy/smsc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c index 11f34813e23f..180c49479c42 100644 --- a/drivers/net/phy/smsc.c +++ b/drivers/net/phy/smsc.c | |||
@@ -249,8 +249,7 @@ static int __init smsc_init(void) | |||
249 | 249 | ||
250 | static void __exit smsc_exit(void) | 250 | static void __exit smsc_exit(void) |
251 | { | 251 | { |
252 | return phy_drivers_unregister(smsc_phy_driver, | 252 | phy_drivers_unregister(smsc_phy_driver, ARRAY_SIZE(smsc_phy_driver)); |
253 | ARRAY_SIZE(smsc_phy_driver)); | ||
254 | } | 253 | } |
255 | 254 | ||
256 | MODULE_DESCRIPTION("SMSC PHY driver"); | 255 | MODULE_DESCRIPTION("SMSC PHY driver"); |