* [PATCH] ath9k_htc: remove return of value in empty definintion of ath9k_htc_deinit_debug
@ 2014-11-11 22:23 John W. Linville
2014-11-12 6:44 ` Oleksij Rempel
0 siblings, 1 reply; 2+ messages in thread
From: John W. Linville @ 2014-11-11 22:23 UTC (permalink / raw)
To: linux-wireless; +Cc: Oleksij Rempel, 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 */
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ath9k_htc: remove return of value in empty definintion of ath9k_htc_deinit_debug
2014-11-11 22:23 [PATCH] ath9k_htc: remove return of value in empty definintion of ath9k_htc_deinit_debug John W. Linville
@ 2014-11-12 6:44 ` Oleksij Rempel
0 siblings, 0 replies; 2+ messages in thread
From: Oleksij Rempel @ 2014-11-12 6:44 UTC (permalink / raw)
To: John W. Linville, linux-wireless
[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]
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.
--
Regards,
Oleksij
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-12 6:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-11 22:23 [PATCH] ath9k_htc: remove return of value in empty definintion of ath9k_htc_deinit_debug John W. Linville
2014-11-12 6:44 ` Oleksij Rempel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).