You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
usb: sn9c102_core 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:
committed by
Greg Kroah-Hartman
parent
90b2625a51
commit
14d2707b80
@@ -775,7 +775,7 @@ static int sn9c102_start_transfer(struct sn9c102_device* cam)
|
||||
return 0;
|
||||
|
||||
free_urbs:
|
||||
for (i = 0; (i < SN9C102_URBS) && cam->urb[i]; i++)
|
||||
for (i = 0; i < SN9C102_URBS; i++)
|
||||
usb_free_urb(cam->urb[i]);
|
||||
|
||||
free_buffers:
|
||||
|
||||
Reference in New Issue
Block a user