summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pwc/pwc-if.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-01-08 11:29:19 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-16 11:07:29 -0200
commit56ae24aad8f9e25dfef995c3e898e5f394cf0beb (patch)
tree2ac5f9df9453057eef01f577647101101fae08d1 /drivers/media/video/pwc/pwc-if.c
parent54d3fb3b11a7c38b112585e54b7af7cb3faa5c91 (diff)
downloadtalos-op-linux-56ae24aad8f9e25dfef995c3e898e5f394cf0beb.tar.gz
talos-op-linux-56ae24aad8f9e25dfef995c3e898e5f394cf0beb.zip
[media] pwc: Make decoder data part of the main pwc struct
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pwc/pwc-if.c')
-rw-r--r--drivers/media/video/pwc/pwc-if.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/video/pwc/pwc-if.c b/drivers/media/video/pwc/pwc-if.c
index 5592068b2f92..250ad4c3e9d8 100644
--- a/drivers/media/video/pwc/pwc-if.c
+++ b/drivers/media/video/pwc/pwc-if.c
@@ -603,14 +603,6 @@ static void pwc_video_release(struct v4l2_device *v)
if (device_hint[hint].pdev == pdev)
device_hint[hint].pdev = NULL;
- /* Free intermediate decompression buffer & tables */
- if (pdev->decompress_data != NULL) {
- PWC_DEBUG_MEMORY("Freeing decompression buffer at %p.\n",
- pdev->decompress_data);
- kfree(pdev->decompress_data);
- pdev->decompress_data = NULL;
- }
-
v4l2_ctrl_handler_free(&pdev->ctrl_handler);
kfree(pdev);
OpenPOWER on IntegriCloud