summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>2006-11-08 15:35:02 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-01 23:23:33 +0100
commit926b1e90093688d91cbc358e5339ad2861c86e46 (patch)
tree1f8c88ee7fe09589eb01fe74bbb1eb11baf8a8be /drivers/media
parentusb: sn9c102_core free urb cleanup (diff)
downloadlinux-926b1e90093688d91cbc358e5339ad2861c86e46.tar.xz
linux-926b1e90093688d91cbc358e5339ad2861c86e46.zip
usb: quickcam_messenger free urb cleanup
- usb_free_urb() cleanup Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/usbvideo/quickcam_messenger.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/usbvideo/quickcam_messenger.c b/drivers/media/video/usbvideo/quickcam_messenger.c
index 9a26b9484aae..bbf2beeeb449 100644
--- a/drivers/media/video/usbvideo/quickcam_messenger.c
+++ b/drivers/media/video/usbvideo/quickcam_messenger.c
@@ -190,8 +190,7 @@ static int qcm_alloc_int_urb(struct qcm *cam)
static void qcm_free_int(struct qcm *cam)
{
- if (cam->button_urb)
- usb_free_urb(cam->button_urb);
+ usb_free_urb(cam->button_urb);
}
#endif /* CONFIG_INPUT */