netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net/phy: Remove return value for a void function
@ 2014-04-01 14:22 Shruti
  2014-04-01 14:33 ` Emil Medve
  0 siblings, 1 reply; 9+ messages in thread
From: Shruti @ 2014-04-01 14:22 UTC (permalink / raw)
  To: f.fainelli; +Cc: netdev, emmedve1, Shruti Kanetkar

From: Shruti Kanetkar <Shruti@Freescale.com>

Change-Id: I03747d79beb1ef3a9e7fc8a11495196eabbed33f
Signed-off-by: Shruti Kanetkar <Shruti@Freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/8914
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Shruti Kanetkar <Shruti@freescale.com>
---
 drivers/net/phy/vitesse.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c
index 14372c6..1f2f060 100644
--- a/drivers/net/phy/vitesse.c
+++ b/drivers/net/phy/vitesse.c
@@ -319,8 +319,8 @@ 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);
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [PATCH] net/phy: Remove return value for a void function
@ 2014-04-01 14:44 Shruti
  2014-04-01 17:47 ` Florian Fainelli
  2014-04-01 18:04 ` Joe Perches
  0 siblings, 2 replies; 9+ messages in thread
From: Shruti @ 2014-04-01 14:44 UTC (permalink / raw)
  To: f.fainelli; +Cc: netdev, emmedve1, Shruti Kanetkar

From: Shruti Kanetkar <Shruti@Freescale.com>

Signed-off-by: Shruti Kanetkar <Shruti@Freescale.com>
---
 drivers/net/phy/vitesse.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c
index 14372c6..1f2f060 100644
--- a/drivers/net/phy/vitesse.c
+++ b/drivers/net/phy/vitesse.c
@@ -319,8 +319,8 @@ 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);
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-04-01 20:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01 14:22 [PATCH] net/phy: Remove return value for a void function Shruti
2014-04-01 14:33 ` Emil Medve
2014-04-01 17:26   ` Sergei Shtylyov
  -- strict thread matches above, loose matches on Subject: below --
2014-04-01 14:44 Shruti
2014-04-01 17:47 ` Florian Fainelli
2014-04-01 18:04 ` Joe Perches
2014-04-01 19:53   ` Shruti Kanetkar
2014-04-01 19:59     ` Florian Fainelli
2014-04-01 20:03       ` Shruti Kanetkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).