Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thorsten Blum <thorsten.blum@xxxxxxxxxx> wrote:

> 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>
> Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

215a19631d11 wifi: ath9k: Use swap() to improve ath9k_hw_get_nf_hist_mid()

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20240710185743.709742-2-thorsten.blum@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux