提交 b45eccdb 编写于 作者: T Tobias Klauser 提交者: 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: NTobias Klauser <tklauser@distanz.ch>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册