summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/marvell-ccic
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2011-06-20 16:14:38 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:53:11 -0300
commit9d48a51c272782e646d75e507a66e0532327d9e5 (patch)
tree007eb21db7fa32ecd035dbe4ce63b8d24852c93e /drivers/media/video/marvell-ccic
parent362d45b23d997c92ec7313e8eb6374c7b085a28e (diff)
[media] marvell-cam: no need to initialize the DMA buffers
This was an old debugging thing from years ago. It's only done at initialization time, but it's still unnecessary; take it out. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/marvell-ccic')
-rw-r--r--drivers/media/video/marvell-ccic/mcam-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/marvell-ccic/mcam-core.c b/drivers/media/video/marvell-ccic/mcam-core.c
index 65d9c0fdeca..da7ec2f473f 100644
--- a/drivers/media/video/marvell-ccic/mcam-core.c
+++ b/drivers/media/video/marvell-ccic/mcam-core.c
@@ -499,8 +499,6 @@ static int mcam_alloc_dma_bufs(struct mcam_camera *cam, int loadtime)
cam_warn(cam, "Failed to allocate DMA buffer\n");
break;
}
- /* For debug, remove eventually */
- memset(cam->dma_bufs[i], 0xcc, cam->dma_buf_size);
(cam->nbufs)++;
}