Re: [PATCH] wifi: ath9k: Use swap() to improve ath9k_hw_get_nf_hist_mid()

From: Toke Høiland-Jørgensen
Date: Wed Jul 10 2024 - 17:42:39 EST


Thorsten Blum <thorsten.blum@xxxxxxxxxx> writes:

> Use the swap() macro to simplify the ath9k_hw_get_nf_hist_mid() function
> and improve its readability.
>
> Fixes the following Coccinelle/coccicheck warning reported by
> swap.cocci:
>
> WARNING opportunity for swap()
>
> Compile-tested only.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxxx>

Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>