From: John W. Linville Date: Mon, 3 May 2010 20:12:39 +0000 (-0400) Subject: iwmc3200wifi: fix busted iwm_debugfs_init definition X-Git-Tag: v3.0~4931^2~167^2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52c773861895faaf544bd398c87ba10dff29f313;p=platform%2Fkernel%2Flinux-amlogic.git 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 --- diff --git a/drivers/net/wireless/iwmc3200wifi/debug.h b/drivers/net/wireless/iwmc3200wifi/debug.h index f98bf12..a0c13a4 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