ath11k: fix compile warning in dp_tx.c
PATCH 1/1 ath11k: fix compile warning in dp_tx.c
Remove lmac_ring_id_offset variable declaration to eliminate warning below:
drivers/net/wireless/ath/ath11k/dp_tx.c: In function 'ath11k_dp_htt_srng_setup':drivers/net/wireless/ath/ath11k/dp_tx.c:615:6: warning: unused variable 'lmac_ring_id_offset' [-Wunused-variable]
Signed-off-by Miles Hu <[email protected]>
--- drivers/net/wireless/ath/ath11k/dp_tx.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/wireless/ath/ath11k/dp_tx.c +0 -1
@@ -612,7 +612,6 @@ int ath11k_dp_htt_srng_setup(struct ath11k_base *ab, u32 ring_id,u32 ring_entry_sz;int len =sizeof (*cmd);dma_addr_t hp_addr, tp_addr; -int lmac_ring_id_offset;enum htt_srng_ring_type htt_ring_type;enum htt_srng_ring_id htt_ring_id;int ret =0 ;
Signature · 7 lines
2.7.4 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 9 lines · Miles Hu
Remove
lmac_ring_id_offsetvariable declaration to eliminate warning below:
drivers/net/wireless/ath/ath11k/dp_tx.c: In function 'ath11k_dp_htt_srng_setup':drivers/net/wireless/ath/ath11k/dp_tx.c:615:6: warning: unused variable 'lmac_ring_id_offset' [-Wunused-variable]Signed-off-by Miles Hu <[email protected]>
Patch applied to ath.git, thanks.
1de770f77e27 ath11k: fix compile warning in dp_tx.c
Signature · 9 lines
https://patchwork.kernel.org/patch/10937355/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k