[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>
This commit is contained in:
Jonathan Corbet 2011-06-20 16:14:38 -03:00 committed by Mauro Carvalho Chehab
parent 362d45b23d
commit 9d48a51c27
1 changed files with 0 additions and 2 deletions

View File

@ -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)++;
}