2009-04-14 20:20:37

by Christian Lamparter

[permalink] [raw]
Subject: [PATCH] p54: remove module_ stubs

Christoph Hellwig pointed out that these stubs are unnecessary.

Signed-off-by: Christian Lamparter <[email protected]>
---
The only reason why I post it, is because it makes the "split up" patch a bit smaller ;)
---
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c
index b6ebd48..ad2503a 100644
--- a/drivers/net/wireless/p54/p54common.c
+++ b/drivers/net/wireless/p54/p54common.c
@@ -2670,15 +2670,3 @@ void p54_free_common(struct ieee80211_hw *dev)
#endif /* CONFIG_P54_LEDS */
}
EXPORT_SYMBOL_GPL(p54_free_common);
-
-static int __init p54_init(void)
-{
- return 0;
-}
-
-static void __exit p54_exit(void)
-{
-}
-
-module_init(p54_init);
-module_exit(p54_exit);