- drivers-atm-no-need-to-return-void.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     drivers/atm: No need to return void
has been removed from the -mm tree.  Its filename was
     drivers-atm-no-need-to-return-void.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: drivers/atm: No need to return void
From: Tobias Klauser <tklauser@xxxxxxxxxx>

The module_exit function has return-type void and pci_unregister_driver()
returns void anyway.

Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx>
Cc: chas williams <chas@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/atm/ambassador.c |    4 ++--
 drivers/atm/horizon.c    |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff -puN drivers/atm/ambassador.c~drivers-atm-no-need-to-return-void drivers/atm/ambassador.c
--- a/drivers/atm/ambassador.c~drivers-atm-no-need-to-return-void
+++ a/drivers/atm/ambassador.c
@@ -2452,8 +2452,8 @@ static int __init amb_module_init (void)
 static void __exit amb_module_exit (void)
 {
   PRINTD (DBG_FLOW|DBG_INIT, "cleanup_module");
-  
-  return pci_unregister_driver(&amb_driver);
+
+  pci_unregister_driver(&amb_driver);
 }
 
 module_init(amb_module_init);
diff -puN drivers/atm/horizon.c~drivers-atm-no-need-to-return-void drivers/atm/horizon.c
--- a/drivers/atm/horizon.c~drivers-atm-no-need-to-return-void
+++ a/drivers/atm/horizon.c
@@ -2932,8 +2932,8 @@ static int __init hrz_module_init (void)
 
 static void __exit hrz_module_exit (void) {
   PRINTD (DBG_FLOW, "cleanup_module");
-  
-  return pci_unregister_driver(&hrz_driver);
+
+  pci_unregister_driver(&hrz_driver);
 }
 
 module_init(hrz_module_init);
_

Patches currently in -mm which might be from tklauser@xxxxxxxxxx are

git-alsa.patch
git-net.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux