diff options
author | Dan Carpenter <error27@gmail.com> | 2010-06-01 04:17:27 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 14:28:06 -0400 |
commit | 2e9157f8ab028ccc5d155320a3f1e49494bcfc18 (patch) | |
tree | 935cbf7b66b553d08c2602f3b430c020fd1c75ad | |
parent | 8b0d7048dc2f0d2e4344bc8aaf85b4f14196145f (diff) |
V4L/DVB: cpia_usb: remove unneeded variable
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>
-rw-r--r-- | drivers/media/video/cpia_usb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/cpia_usb.c b/drivers/media/video/cpia_usb.c index ef1f89399983..58d193ff591c 100644 --- a/drivers/media/video/cpia_usb.c +++ b/drivers/media/video/cpia_usb.c | |||
@@ -584,7 +584,6 @@ static void cpia_disconnect(struct usb_interface *intf) | |||
584 | { | 584 | { |
585 | struct cam_data *cam = usb_get_intfdata(intf); | 585 | struct cam_data *cam = usb_get_intfdata(intf); |
586 | struct usb_cpia *ucpia; | 586 | struct usb_cpia *ucpia; |
587 | struct usb_device *udev; | ||
588 | 587 | ||
589 | usb_set_intfdata(intf, NULL); | 588 | usb_set_intfdata(intf, NULL); |
590 | if (!cam) | 589 | if (!cam) |
@@ -606,8 +605,6 @@ static void cpia_disconnect(struct usb_interface *intf) | |||
606 | if (waitqueue_active(&ucpia->wq_stream)) | 605 | if (waitqueue_active(&ucpia->wq_stream)) |
607 | wake_up_interruptible(&ucpia->wq_stream); | 606 | wake_up_interruptible(&ucpia->wq_stream); |
608 | 607 | ||
609 | udev = interface_to_usbdev(intf); | ||
610 | |||
611 | ucpia->curbuff = ucpia->workbuff = NULL; | 608 | ucpia->curbuff = ucpia->workbuff = NULL; |
612 | 609 | ||
613 | vfree(ucpia->buffers[2]); | 610 | vfree(ucpia->buffers[2]); |