2014-11-11 22:35:43

by John W. Linville

[permalink] [raw]
Subject: [PATCH] ath9k_htc: remove return of value in empty definintion of ath9k_htc_deinit_debug

Cc: Oleksij Rempel <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
---
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 */
--
1.9.3



2014-11-12 06:44:29

by Oleksij Rempel

[permalink] [raw]
Subject: Re: [PATCH] ath9k_htc: remove return of value in empty definintion of ath9k_htc_deinit_debug

Am 11.11.2014 um 23:23 schrieb John W. Linville:
> Cc: Oleksij Rempel <[email protected]>
> Signed-off-by: John W. Linville <[email protected]>
> ---
> 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.

--
Regards,
Oleksij


Attachments:
signature.asc (213.00 B)
OpenPGP digital signature