Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

wifi: zd1211rw: remove redundant decls

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>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230204200902.1709343-1-trix@redhat.com

authored by

Tom Rix and committed by
Kalle Valo
9d5dbfe0 6869ba49

-3
-3
drivers/net/wireless/zydas/zd1211rw/zd_rf.h
··· 85 85 return rf->patch_cck_gain; 86 86 } 87 87 88 - int zd_rf_patch_6m_band_edge(struct zd_rf *rf, u8 channel); 89 - int zd_rf_generic_patch_6m(struct zd_rf *rf, u8 channel); 90 - 91 88 /* Functions for individual RF chips */ 92 89 93 90 int zd_rf_init_rf2959(struct zd_rf *rf);