> -----Original Message----- > From: Jinjie Ruan <ruanjinjie@xxxxxxxxxx> > Sent: Sunday, October 8, 2023 10:59 AM > To: linux-wireless@xxxxxxxxxxxxxxx; Ping-Ke Shih <pkshih@xxxxxxxxxxx>; Kalle Valo <kvalo@xxxxxxxxxx>; > neo_jou <neo_jou@xxxxxxxxxxx>; Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>; Hans Ulli Kroll > <linux@xxxxxxxxxxxxx> > Cc: ruanjinjie@xxxxxxxxxx > Subject: [PATCH] wifi: rtw88: Remove duplicate NULL check before calling usb_kill/free_urb() > > Both usb_kill_urb() and usb_free_urb() do the NULL check itself, so there > is no need to duplicate it prior to calling. > > Fixes: a82dfd33d123 ("wifi: rtw88: Add common USB chip support") > Signed-off-by: Jinjie Ruan <ruanjinjie@xxxxxxxxxx> Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>