Commit 0ee4c2ac authored by Fabian Frederick's avatar Fabian Frederick Committed by Mauro Carvalho Chehab

[media] drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c: remove unnecessary...

[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: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent 40feb52f
......@@ -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 *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment