Skip to content

Commit

Permalink
V4L/DVB: cpia_usb: remove unneeded variable
Browse files Browse the repository at this point in the history
This is just a cleanup patch.  We never use the "udev" variable so I
have removed it.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 8b0d704 commit 2e9157f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/media/video/cpia_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,6 @@ static void cpia_disconnect(struct usb_interface *intf)
{
struct cam_data *cam = usb_get_intfdata(intf);
struct usb_cpia *ucpia;
struct usb_device *udev;

usb_set_intfdata(intf, NULL);
if (!cam)
Expand All @@ -606,8 +605,6 @@ static void cpia_disconnect(struct usb_interface *intf)
if (waitqueue_active(&ucpia->wq_stream))
wake_up_interruptible(&ucpia->wq_stream);

udev = interface_to_usbdev(intf);

ucpia->curbuff = ucpia->workbuff = NULL;

vfree(ucpia->buffers[2]);
Expand Down

0 comments on commit 2e9157f

Please sign in to comment.