summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>2006-11-08 15:34:50 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-01 14:23:32 -0800
commit4c6f7d4a889ad997483a4c0318111b4a506f0fe3 (patch)
tree6a6a0078fed5c5dae0ccca71b3278f09e99380a6
parent5e55d2cea80254faa6ba5c13f3053070db57b63f (diff)
downloadop-kernel-dev-4c6f7d4a889ad997483a4c0318111b4a506f0fe3.zip
op-kernel-dev-4c6f7d4a889ad997483a4c0318111b4a506f0fe3.tar.gz
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>
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-io.c b/drivers/media/video/pvrusb2/pvrusb2-io.c
index 70aa63e..57fb320 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-io.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-io.c
@@ -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);
}
OpenPOWER on IntegriCloud