aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/media/dabusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/media/dabusb.c')
-rw-r--r--drivers/usb/media/dabusb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/media/dabusb.c b/drivers/usb/media/dabusb.c
index 8823297d219..6ca2fae99d2 100644
--- a/drivers/usb/media/dabusb.c
+++ b/drivers/usb/media/dabusb.c
@@ -138,8 +138,7 @@ static int dabusb_free_queue (struct list_head *q)
#ifdef DEBUG
dump_urb(b->purb);
#endif
- if (b->purb->transfer_buffer)
- kfree (b->purb->transfer_buffer);
+ kfree(b->purb->transfer_buffer);
usb_free_urb(b->purb);
tmp = p->next;
list_del (p);