ath9k: use swap() to make code cleaner

Using swap() make it more readable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Yang Guang <yang.guang5@zte.com.cn>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211028010451.7754-1-yang.guang5@zte.com.cn
This commit is contained in:
Yang Guang 2021-10-28 01:04:51 +00:00 • committed by Kalle Valo
commit 22f9ba7fee