Skip to contentSkip to conversation

ath11k: cleanup in data path

PATCH In review Karthikeyan Periyasamy 2 participants 2 messages May 27, 2019 – May 29, 2019 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath11k: cleanup in data path

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

---
 drivers/net/wireless/ath/ath11k/dp.c | 2 --
 1 file changed, 2 deletions(-)
drivers/net/wireless/ath/ath11k/dp.c +0 -2
index 5d30fc2..0aec840 100644
@@ -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;
 
Signature · 7 lines
1.9.1


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#1 lore raw
Quoted 4 lines · Karthikeyan Periyasamy

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

Patch applied to ath.git, thanks.

db59e31c7e3f ath11k: cleanup in data path

Signature · 9 lines
https://patchwork.kernel.org/patch/10963089/

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


_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k