Message ID | 1561737854-19003-1-git-send-email-msinada@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 3305d94f75ccdca3f100305c8f481387558dd7c5 |
Delegated to: | Kalle Valo |
Headers | show |
Series | [v2,1/4] ath11k: removed duplicated functionality | expand |
Muna Sinada <msinada@codeaurora.org> wrote: > Removed duplicated functionality in ath11k_hal_desc_reo_parse_err() and > replaced with function call to ath11k_hal_rx_reo_entl_paddr_get(). > > Signed-off-by: Muna Sinada <msinada@codeaurora.org> > Signed-off-by: Kalle Valo <kvalo@codeaurora.org> 4 patches applied to ath11k-bringup branch of ath.git, thanks. 3305d94f75cc ath11k: removed duplicated functionality 8bc3b7e41ab2 ath11k: changed parameter from u8 * to struct sk_buff * a9cd19921cc8 ath11k: comments added to explain purpose c6f7e826a450 ath11k: added RMB to return_buffer_manager description
diff --git a/drivers/net/wireless/ath/ath11k/hal_rx.c b/drivers/net/wireless/ath/ath11k/hal_rx.c index 63da0d29147c..f3c0e3e13dfd 100644 --- a/drivers/net/wireless/ath/ath11k/hal_rx.c +++ b/drivers/net/wireless/ath/ath11k/hal_rx.c @@ -351,12 +351,7 @@ int ath11k_hal_desc_reo_parse_err(struct ath11k_base *ab, u32 *rx_desc, return -EINVAL; } - *paddr = (((u64)FIELD_GET(BUFFER_ADDR_INFO1_ADDR, - desc->buf_addr_info.info1)) << 32) | - FIELD_GET(BUFFER_ADDR_INFO0_ADDR, - desc->buf_addr_info.info0); - *desc_bank = FIELD_GET(BUFFER_ADDR_INFO1_SW_COOKIE, - desc->buf_addr_info.info1); + ath11k_hal_rx_reo_ent_paddr_get(ab, rx_desc, paddr, desc_bank); return 0; }
Removed duplicated functionality in ath11k_hal_desc_reo_parse_err() and replaced with function call to ath11k_hal_rx_reo_entl_paddr_get(). Signed-off-by: Muna Sinada <msinada@codeaurora.org> --- drivers/net/wireless/ath/ath11k/hal_rx.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)