From ab551a63c00abd61aab91deae317930ccef685ac Mon Sep 17 00:00:00 2001 From: chenguo Date: Fri, 3 Nov 2017 18:20:29 +0800 Subject: [PATCH] qcacmn: Remove duplicated API call In the main data RX path, the API of geting MSDU description is called duplciately repeatly. Because the input parameter is not changed, unnecessary function calling is existed. Remove the unnecessary API calling. CRs-Fixed: 2137776 Change-Id: I11f3d83dd4045f6a353ca6b9b23c188e582672a6 --- dp/wifi3.0/dp_rx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dp/wifi3.0/dp_rx.c b/dp/wifi3.0/dp_rx.c index d088a965eca3..a4e7761e626e 100644 --- a/dp/wifi3.0/dp_rx.c +++ b/dp/wifi3.0/dp_rx.c @@ -1048,7 +1048,6 @@ dp_rx_process(struct dp_intr *int_ctx, void *hal_ring, uint32_t quota) DP_STATS_INCC(peer, rx.ampdu_cnt, 1, ampdu_flag); DP_STATS_INCC(peer, rx.non_ampdu_cnt, 1, !(ampdu_flag)); - hal_rx_msdu_desc_info_get(ring_desc, &msdu_desc_info); amsdu_flag = ((msdu_desc_info.msdu_flags & HAL_MSDU_F_FIRST_MSDU_IN_MPDU) && (msdu_desc_info.msdu_flags &