> -----Original Message----- > From: Dmitry Antipov <dmantipov@xxxxxxxxx> > Sent: Monday, September 25, 2023 5:05 PM > To: Ping-Ke Shih <pkshih@xxxxxxxxxxx> > Cc: Kalle Valo <kvalo@xxxxxxxxxx>; linux-wireless@xxxxxxxxxxxxxxx; lvc-project@xxxxxxxxxxxxxxxx; Dmitry > Antipov <dmantipov@xxxxxxxxx> > Subject: [PATCH] wifi: rtlwifi: cleanup few rtlxxxx_set_hw_reg() routines > > Since 'u8' comparison against zero is always false, drop the > corresponding branches of AMPDU_MIN_SPACE adjustment within > 'rtlxxxx_set_hw_reg()' for rtl8188ee, rtl8192ce, rtl8192de, > rtl8723ae, rtl8723be, and rtl8821ae. Compile tested only. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Dmitry Antipov <dmantipov@xxxxxxxxx> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>