diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2006-10-20 22:49:45 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-10-21 22:55:23 -0400 |
commit | b45eccdb51c102e3c5ff9eaecc36200ab2eb09c0 (patch) | |
tree | e4116976f5c1e8e242284789c65e1dbcbc3601ce /drivers/atm/horizon.c | |
parent | 97f80bc66f5c6384e3aab70c67340116b8c4284b (diff) |
[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>
Diffstat (limited to 'drivers/atm/horizon.c')
-rw-r--r-- | drivers/atm/horizon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c index f59349206dd2..44268cba5a5a 100644 --- a/drivers/atm/horizon.c +++ b/drivers/atm/horizon.c | |||
@@ -2932,8 +2932,8 @@ static int __init hrz_module_init (void) { | |||
2932 | 2932 | ||
2933 | static void __exit hrz_module_exit (void) { | 2933 | static void __exit hrz_module_exit (void) { |
2934 | PRINTD (DBG_FLOW, "cleanup_module"); | 2934 | PRINTD (DBG_FLOW, "cleanup_module"); |
2935 | 2935 | ||
2936 | return pci_unregister_driver(&hrz_driver); | 2936 | pci_unregister_driver(&hrz_driver); |
2937 | } | 2937 | } |
2938 | 2938 | ||
2939 | module_init(hrz_module_init); | 2939 | module_init(hrz_module_init); |