iwmc3200wifi: fix busted iwm_debugfs_init definition
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 3 May 2010 20:12:39 +0000 (16:12 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 May 2010 20:21:10 +0000 (16:21 -0400)
Looks like we missed removing the return statement in the non-CONFIG_IWM_DEBUG
dummy implementation of iwm_debugfs_init...

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwmc3200wifi/debug.h

index f98bf125a8ae544f95d2416a8db45556172fe7cc..a0c13a49ab3ca095be4a042963fb52776bcce1f7 100644 (file)
@@ -116,10 +116,7 @@ struct iwm_debugfs {
 void iwm_debugfs_init(struct iwm_priv *iwm);
 void iwm_debugfs_exit(struct iwm_priv *iwm);
 #else
-static inline void iwm_debugfs_init(struct iwm_priv *iwm)
-{
-       return 0;
-}
+static inline void iwm_debugfs_init(struct iwm_priv *iwm) {}
 static inline void iwm_debugfs_exit(struct iwm_priv *iwm) {}
 #endif