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:
Родитель
5e55d2cea8
Коммит
4c6f7d4a88
|
@ -289,7 +289,7 @@ static void pvr2_buffer_done(struct pvr2_buffer *bp)
|
||||||
pvr2_buffer_set_none(bp);
|
pvr2_buffer_set_none(bp);
|
||||||
bp->signature = 0;
|
bp->signature = 0;
|
||||||
bp->stream = NULL;
|
bp->stream = NULL;
|
||||||
if (bp->purb) usb_free_urb(bp->purb);
|
usb_free_urb(bp->purb);
|
||||||
pvr2_trace(PVR2_TRACE_BUF_POOL,"/*---TRACE_FLOW---*/"
|
pvr2_trace(PVR2_TRACE_BUF_POOL,"/*---TRACE_FLOW---*/"
|
||||||
" bufferDone %p",bp);
|
" bufferDone %p",bp);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче