mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-13 21:02:35 +00:00
[media] drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c: remove unnecessary null test before usb_free_urb
Fix checkpatch warning: WARNING: usb_free_urb(NULL) is safe this check is probably not required Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
40feb52fb6
commit
0ee4c2ac18
@ -791,8 +791,7 @@ static void ttusb_free_iso_urbs(struct ttusb *ttusb)
|
||||
int i;
|
||||
|
||||
for (i = 0; i < ISO_BUF_COUNT; i++)
|
||||
if (ttusb->iso_urb[i])
|
||||
usb_free_urb(ttusb->iso_urb[i]);
|
||||
usb_free_urb(ttusb->iso_urb[i]);
|
||||
|
||||
pci_free_consistent(NULL,
|
||||
ISO_FRAME_SIZE * FRAMES_PER_ISO_BUF *
|
||||
|
Loading…
x
Reference in New Issue
Block a user