[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
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue