diff options
author | 2006-11-08 15:35:02 +0100 | |
---|---|---|
committer | 2006-12-01 14:23:33 -0800 | |
commit | 926b1e90093688d91cbc358e5339ad2861c86e46 (patch) | |
tree | 1f8c88ee7fe09589eb01fe74bbb1eb11baf8a8be /drivers/media | |
parent | usb: sn9c102_core free urb cleanup (diff) | |
download | linux-926b1e90093688d91cbc358e5339ad2861c86e46.tar.gz linux-926b1e90093688d91cbc358e5339ad2861c86e46.tar.bz2 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.c | 3 |
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 */ |