From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVFoT-0001xM-Tj for ath11k@lists.infradead.org; Mon, 27 May 2019 13:37:19 +0000 From: Karthikeyan Periyasamy Subject: [PATCH] ath11k: cleanup in data path Date: Mon, 27 May 2019 19:06:53 +0530 Message-Id: <1558964213-13440-1-git-send-email-periyasa@codeaurora.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath11k" Errors-To: ath11k-bounces+kvalo=adurom.com@lists.infradead.org To: ath11k@lists.infradead.org Cc: Karthikeyan Periyasamy Removed unnecessary call of ath11k_hal_srng_get_entrysize() in ath11k_dp_srng_setup(). Signed-off-by: Karthikeyan Periyasamy --- 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