Message ID | 1561058129-25625-4-git-send-email-msinada@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Commit | ea713329999f65ae6a465312ed1384281b101266 |
Delegated to: | Kalle Valo |
Headers | show |
Series | [1/4] ath11k: change struct name from buffer_addr to ath11k_buffer_addr | expand |
diff --git a/drivers/net/wireless/ath/ath11k/hal_rx.c b/drivers/net/wireless/ath/ath11k/hal_rx.c index 376b519595c1..76b93f6c33cd 100644 --- a/drivers/net/wireless/ath/ath11k/hal_rx.c +++ b/drivers/net/wireless/ath/ath11k/hal_rx.c @@ -338,8 +338,8 @@ int ath11k_hal_desc_reo_parse_err(struct ath11k_base *ab, u32 *rx_desc, desc->info0); ab->soc_stats.reo_error[err_code]++; - if ((push_reason != HAL_REO_DEST_RING_PUSH_REASON_ERR_DETECTED) && - (push_reason != HAL_REO_DEST_RING_PUSH_REASON_ROUTING_INSTRUCTION)) { + if (push_reason != HAL_REO_DEST_RING_PUSH_REASON_ERR_DETECTED && + push_reason != HAL_REO_DEST_RING_PUSH_REASON_ROUTING_INSTRUCTION) { ath11k_warn(ab, "expected error push reason code, received %d\n", push_reason); return -EINVAL;
Removed unnecessary parentheses because of operator precedence Signed-off-by: Muna Sinada <msinada@codeaurora.org> --- drivers/net/wireless/ath/ath11k/hal_rx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)