Jinjie Ruan <ruanjinjie@xxxxxxxxxx> wrote: > 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: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> > Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-next.git, thanks. de8dd0969498 wifi: rtw88: Remove duplicate NULL check before calling usb_kill/free_urb() -- https://patchwork.kernel.org/project/linux-wireless/patch/20231008025852.1239450-1-ruanjinjie@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches