[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87msmpylsf.fsf@toke.dk>
Date: Wed, 10 Jul 2024 23:33:36 +0200
From: Toke Høiland-Jørgensen <toke@...e.dk>
To: Thorsten Blum <thorsten.blum@...lux.com>, kvalo@...nel.org
Cc: linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org, Thorsten
Blum <thorsten.blum@...lux.com>
Subject: Re: [PATCH] wifi: ath9k: Use swap() to improve
ath9k_hw_get_nf_hist_mid()
Thorsten Blum <thorsten.blum@...lux.com> 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@...lux.com>
Acked-by: Toke Høiland-Jørgensen <toke@...e.dk>
Powered by blists - more mailing lists