diff options
author | Jonathan Corbet <corbet@lwn.net> | 2011-06-20 16:14:38 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 17:53:11 -0300 |
commit | 9d48a51c272782e646d75e507a66e0532327d9e5 (patch) | |
tree | 007eb21db7fa32ecd035dbe4ce63b8d24852c93e | |
parent | 362d45b23d997c92ec7313e8eb6374c7b085a28e (diff) | |
download | op-kernel-dev-9d48a51c272782e646d75e507a66e0532327d9e5.zip op-kernel-dev-9d48a51c272782e646d75e507a66e0532327d9e5.tar.gz |
[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>
-rw-r--r-- | drivers/media/video/marvell-ccic/mcam-core.c | 2 |
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 65d9c0f..da7ec2f 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)++; } |