All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath11k: fix compile warning in dp_tx.c
@ 2019-05-09 17:02 Miles Hu
  2019-05-13 14:46 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Miles Hu @ 2019-05-09 17:02 UTC (permalink / raw)
  To: ath11k; +Cc: Miles Hu

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

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;
-- 
2.7.4


_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

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

* Re: [PATCH] ath11k: fix compile warning in dp_tx.c
  2019-05-09 17:02 [PATCH] ath11k: fix compile warning in dp_tx.c Miles Hu
@ 2019-05-13 14:46 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-05-13 14:46 UTC (permalink / raw)
  To: Miles Hu; +Cc: ath11k

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

-- 
https://patchwork.kernel.org/patch/10937355/

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


_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

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

end of thread, other threads:[~2019-05-13 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-09 17:02 [PATCH] ath11k: fix compile warning in dp_tx.c Miles Hu
2019-05-13 14:46 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.