Commit c0e1607a authored by Luiz Capitulino's avatar Luiz Capitulino Committed by Greg Kroah-Hartman

[PATCH] USB: fix media/dsbr100.c unused variable.

drivers/usb/media/dsbr100.c: In function `usb_dsbr100_probe':
drivers/usb/media/dsbr100.c:239: warning: unused variable `videodev'
parent de59104f
...@@ -236,7 +236,6 @@ static int usb_dsbr100_probe(struct usb_interface *intf, ...@@ -236,7 +236,6 @@ static int usb_dsbr100_probe(struct usb_interface *intf,
const struct usb_device_id *id) const struct usb_device_id *id)
{ {
dsbr100_device *radio; dsbr100_device *radio;
struct video_device *videodev;
if (!(radio = kmalloc(sizeof(dsbr100_device), GFP_KERNEL))) if (!(radio = kmalloc(sizeof(dsbr100_device), GFP_KERNEL)))
return -ENOMEM; return -ENOMEM;
......
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