Skip to content

Commit

Permalink
iwmc3200wifi: fix busted iwm_debugfs_init definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John W. Linville committed May 3, 2010
1 parent 1d7d969 commit 52c7738
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/net/wireless/iwmc3200wifi/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 52c7738

Please sign in to comment.