diff options
author | Jonathan Corbet <corbet@lwn.net> | 2011-06-20 15:14:38 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:53:11 -0400 |
commit | 9d48a51c272782e646d75e507a66e0532327d9e5 (patch) | |
tree | 007eb21db7fa32ecd035dbe4ce63b8d24852c93e | |
parent | 362d45b23d997c92ec7313e8eb6374c7b085a28e (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>
-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 65d9c0fdecae..da7ec2f473ff 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) | |||
499 | cam_warn(cam, "Failed to allocate DMA buffer\n"); | 499 | cam_warn(cam, "Failed to allocate DMA buffer\n"); |
500 | break; | 500 | break; |
501 | } | 501 | } |
502 | /* For debug, remove eventually */ | ||
503 | memset(cam->dma_bufs[i], 0xcc, cam->dma_buf_size); | ||
504 | (cam->nbufs)++; | 502 | (cam->nbufs)++; |
505 | } | 503 | } |
506 | 504 | ||