[lvc-project] [PATCH 1/2] wifi: ath9k: simplify ar9003_hw_process_ini()

Toke Høiland-Jørgensen toke at toke.dk
Fri Sep 1 13:56:01 MSK 2023


Dmitry Antipov <dmantipov at yandex.ru> writes:

> Since commit 8896934c1684 ("ath9k_hw: remove direct accesses to channel
> mode flags") changes 'ar9550_hw_get_modes_txgain_index()' so it never
> returns -EINVAL, and 'ar9561_hw_get_modes_txgain_index()' never returns
> negative value too, an extra check in 'ar9003_hw_process_ini()' may be
> dropped.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>

Acked-by: Toke Høiland-Jørgensen <toke at toke.dk>



More information about the lvc-project mailing list