diff mbox

ath9k_htc: remove return of value in empty definintion of ath9k_htc_deinit_debug

Message ID 1415744629-6946-1-git-send-email-linville@tuxdriver.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

John W. Linville Nov. 11, 2014, 10:23 p.m. UTC
Cc: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
 drivers/net/wireless/ath/ath9k/htc.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Oleksij Rempel Nov. 12, 2014, 6:44 a.m. UTC | #1
Am 11.11.2014 um 23:23 schrieb John W. Linville:
> Cc: Oleksij Rempel <linux@rempel-privat.de>
> Signed-off-by: John W. Linville <linville@tuxdriver.com>
> ---
>  drivers/net/wireless/ath/ath9k/htc.h | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h
> index b34acdeb1f21..9dde265d3f84 100644
> --- a/drivers/net/wireless/ath/ath9k/htc.h
> +++ b/drivers/net/wireless/ath/ath9k/htc.h
> @@ -629,7 +629,9 @@ int ath9k_htc_init_debug(struct ath_hw *ah);
>  void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv);
>  #else
>  static inline int ath9k_htc_init_debug(struct ath_hw *ah) { return 0; };
> -static inline void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv) { return 0; };
> +static inline void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv)
> +{
> +}
>  #endif /* CONFIG_ATH9K_HTC_DEBUGFS */
>  
>  #endif /* HTC_H */
> 

Thank you.
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h
index b34acdeb1f21..9dde265d3f84 100644
--- a/drivers/net/wireless/ath/ath9k/htc.h
+++ b/drivers/net/wireless/ath/ath9k/htc.h
@@ -629,7 +629,9 @@  int ath9k_htc_init_debug(struct ath_hw *ah);
 void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv);
 #else
 static inline int ath9k_htc_init_debug(struct ath_hw *ah) { return 0; };
-static inline void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv) { return 0; };
+static inline void ath9k_htc_deinit_debug(struct ath9k_htc_priv *priv)
+{
+}
 #endif /* CONFIG_ATH9K_HTC_DEBUGFS */
 
 #endif /* HTC_H */