mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
[ATM]: No need to return void
The module_exit function has return-type void and pci_unregister_driver() returns void anyway. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
97f80bc66f
commit
b45eccdb51
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user