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:
parent
14d2707b80
commit
926b1e9009
1 changed files with 1 additions and 2 deletions
|
@ -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 */
|
||||
|
||||
|
|
Reference in a new issue