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>
This commit is contained in:
Mariusz Kozlowski 2006-11-08 15:35:02 +01:00 committed by Greg Kroah-Hartman
parent 14d2707b80
commit 926b1e9009
1 changed files with 1 additions and 2 deletions

View File

@ -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 */