Message ID | 1557421369-6676-1-git-send-email-milehu@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 1de770f77e27966783bf00b5f3f1d66383edf43a |
Delegated to: | Kalle Valo |
Headers | show |
Series | ath11k: fix compile warning in dp_tx.c | expand |
Miles Hu <milehu@codeaurora.org> wrote: > 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 <milehu@codeaurora.org> Patch applied to ath.git, thanks. 1de770f77e27 ath11k: fix compile warning in dp_tx.c
diff --git a/drivers/net/wireless/ath/ath11k/dp_tx.c b/drivers/net/wireless/ath/ath11k/dp_tx.c index 624e4e9..55a19a0 100644 --- a/drivers/net/wireless/ath/ath11k/dp_tx.c +++ b/drivers/net/wireless/ath/ath11k/dp_tx.c @@ -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;
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 <milehu@codeaurora.org> --- drivers/net/wireless/ath/ath11k/dp_tx.c | 1 - 1 file changed, 1 deletion(-)