linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: wireless: zd1211rw: remove redundant decls
@ 2023-02-04 20:09 Tom Rix
  2023-02-05 13:30 ` Simon Horman
  2023-02-13 17:25 ` wifi: " Kalle Valo
  0 siblings, 2 replies; 3+ messages in thread
From: Tom Rix @ 2023-02-04 20:09 UTC (permalink / raw)
  To: kune, kvalo, davem, edumazet, kuba, pabeni
  Cc: linux-wireless, netdev, linux-kernel, Tom Rix

building with W=2 has these errors
redundant redeclaration of ‘zd_rf_generic_patch_6m’ [-Werror=redundant-decls]
redundant redeclaration of ‘zd_rf_patch_6m_band_edge’ [-Werror=redundant-decls]

Remove the second decls.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/net/wireless/zydas/zd1211rw/zd_rf.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/net/wireless/zydas/zd1211rw/zd_rf.h b/drivers/net/wireless/zydas/zd1211rw/zd_rf.h
index 8bfec9e75125..9ca69df3d288 100644
--- a/drivers/net/wireless/zydas/zd1211rw/zd_rf.h
+++ b/drivers/net/wireless/zydas/zd1211rw/zd_rf.h
@@ -85,9 +85,6 @@ static inline int zd_rf_should_patch_cck_gain(struct zd_rf *rf)
 	return rf->patch_cck_gain;
 }
 
-int zd_rf_patch_6m_band_edge(struct zd_rf *rf, u8 channel);
-int zd_rf_generic_patch_6m(struct zd_rf *rf, u8 channel);
-
 /* Functions for individual RF chips */
 
 int zd_rf_init_rf2959(struct zd_rf *rf);
-- 
2.26.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] net: wireless: zd1211rw: remove redundant decls
  2023-02-04 20:09 [PATCH] net: wireless: zd1211rw: remove redundant decls Tom Rix
@ 2023-02-05 13:30 ` Simon Horman
  2023-02-13 17:25 ` wifi: " Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2023-02-05 13:30 UTC (permalink / raw)
  To: Tom Rix
  Cc: kune, kvalo, davem, edumazet, kuba, pabeni, linux-wireless,
	netdev, linux-kernel

On Sat, Feb 04, 2023 at 12:09:02PM -0800, Tom Rix wrote:
> building with W=2 has these errors
> redundant redeclaration of ‘zd_rf_generic_patch_6m’ [-Werror=redundant-decls]
> redundant redeclaration of ‘zd_rf_patch_6m_band_edge’ [-Werror=redundant-decls]
> 
> Remove the second decls.
> 
> Signed-off-by: Tom Rix <trix@redhat.com>

Reviewed-by: Simon Horman <simon.horman@corigine.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: wifi: zd1211rw: remove redundant decls
  2023-02-04 20:09 [PATCH] net: wireless: zd1211rw: remove redundant decls Tom Rix
  2023-02-05 13:30 ` Simon Horman
@ 2023-02-13 17:25 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2023-02-13 17:25 UTC (permalink / raw)
  To: Tom Rix
  Cc: kune, davem, edumazet, kuba, pabeni, linux-wireless, netdev,
	linux-kernel, Tom Rix

Tom Rix <trix@redhat.com> wrote:

> building with W=2 has these errors
> redundant redeclaration of ‘zd_rf_generic_patch_6m’ [-Werror=redundant-decls]
> redundant redeclaration of ‘zd_rf_patch_6m_band_edge’ [-Werror=redundant-decls]
> 
> Remove the second decls.
> 
> Signed-off-by: Tom Rix <trix@redhat.com>
> Reviewed-by: Simon Horman <simon.horman@corigine.com>

Patch applied to wireless-next.git, thanks.

9d5dbfe0e170 wifi: zd1211rw: remove redundant decls

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230204200902.1709343-1-trix@redhat.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-13 17:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-04 20:09 [PATCH] net: wireless: zd1211rw: remove redundant decls Tom Rix
2023-02-05 13:30 ` Simon Horman
2023-02-13 17:25 ` wifi: " Kalle Valo

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).