Commit b45eccdb authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller

[ATM]: No need to return void

The module_exit function has return-type void and pci_unregister_driver()
returns void anyway.
Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 97f80bc6
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment