usb: pvrusb2-io 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
5e55d2cea8
commit
4c6f7d4a88
|
@ -289,7 +289,7 @@ static void pvr2_buffer_done(struct pvr2_buffer *bp)
|
|||
pvr2_buffer_set_none(bp);
|
||||
bp->signature = 0;
|
||||
bp->stream = NULL;
|
||||
if (bp->purb) usb_free_urb(bp->purb);
|
||||
usb_free_urb(bp->purb);
|
||||
pvr2_trace(PVR2_TRACE_BUF_POOL,"/*---TRACE_FLOW---*/"
|
||||
" bufferDone %p",bp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue