All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ath11k: cleanup in data path
@ 2019-05-27 13:36 Karthikeyan Periyasamy
  2019-05-29 15:14 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Karthikeyan Periyasamy @ 2019-05-27 13:36 UTC (permalink / raw)
  To: ath11k; +Cc: Karthikeyan Periyasamy

Removed unnecessary call of ath11k_hal_srng_get_entrysize() in
ath11k_dp_srng_setup().

Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/dp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/wireless/ath/ath11k/dp.c b/drivers/net/wireless/ath/ath11k/dp.c
index 5d30fc2..0aec840 100644
--- a/drivers/net/wireless/ath/ath11k/dp.c
+++ b/drivers/net/wireless/ath/ath11k/dp.c
@@ -94,8 +94,6 @@ int ath11k_dp_srng_setup(struct ath11k_base *ab, struct dp_srng *ring,
 	int max_entries = ath11k_hal_srng_get_max_entries(type);
 	int ret;
 
-	entry_sz = ath11k_hal_srng_get_entrysize(type);
-
 	if (max_entries < 0 || entry_sz < 0)
 		return -EINVAL;
 
-- 
1.9.1


_______________________________________________
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: cleanup in data path
  2019-05-27 13:36 [PATCH] ath11k: cleanup in data path Karthikeyan Periyasamy
@ 2019-05-29 15:14 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-05-29 15:14 UTC (permalink / raw)
  To: Karthikeyan Periyasamy; +Cc: ath11k

Karthikeyan Periyasamy <periyasa@codeaurora.org> wrote:

> Removed unnecessary call of ath11k_hal_srng_get_entrysize() in
> ath11k_dp_srng_setup().
> 
> Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>

Patch applied to ath.git, thanks.

db59e31c7e3f ath11k: cleanup in data path

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

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-29 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27 13:36 [PATCH] ath11k: cleanup in data path Karthikeyan Periyasamy
2019-05-29 15:14 ` 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.