Dmitry Antipov <dmantipov@xxxxxxxxx> 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@xxxxxxxxx> Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>