Explorar o código

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>
John W. Linville %!s(int64=15) %!d(string=hai) anos
pai
achega
52c7738618
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      drivers/net/wireless/iwmc3200wifi/debug.h

+ 1 - 4
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