summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwmc3200wifi
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-05-03 22:12:39 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-05-03 22:21:10 +0200
commit52c773861895faaf544bd398c87ba10dff29f313 (patch)
tree0332b585ed6e65bf73c50ec024c7c30c9c00b864 /drivers/net/wireless/iwmc3200wifi
parentMerge branch 'wireless-next-2.6' of git://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadlinux-52c773861895faaf544bd398c87ba10dff29f313.tar.xz
linux-52c773861895faaf544bd398c87ba10dff29f313.zip
iwmc3200wifi: fix busted iwm_debugfs_init definition
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>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/debug.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/debug.h b/drivers/net/wireless/iwmc3200wifi/debug.h
index f98bf125a8ae..a0c13a49ab3c 100644
--- a/drivers/net/wireless/iwmc3200wifi/debug.h
+++ b/drivers/net/wireless/iwmc3200wifi/debug.h
@@ -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