summaryrefslogtreecommitdiff
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 18:44:54 (GMT)
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-03 19:12:33 (GMT)
commita7459a9d3ab932209e3340d5ae4dadf73147e8d5 (patch)
tree749e76200a48d6cfc3b57c8de5ca0dc3b3a6b172 /drivers/media/platform
parent313ddec45cf1a7b3778eaa9fd3acb31f994b2e88 (diff)
downloadlinux-a7459a9d3ab932209e3340d5ae4dadf73147e8d5.tar.xz
[media] marvel-ccic: don't initialize static vars with 0
alloc_bufs_at_read is static. No need to initialize with zero, as the Kernel will cleanup the data memory already. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/marvell-ccic/mcam-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/marvell-ccic/mcam-core.c b/drivers/media/platform/marvell-ccic/mcam-core.c
index be4b512..7a86c77 100644
--- a/drivers/media/platform/marvell-ccic/mcam-core.c
+++ b/drivers/media/platform/marvell-ccic/mcam-core.c
@@ -67,7 +67,7 @@ MODULE_PARM_DESC(dma_buf_size,
"parameters require larger buffers, an attempt to reallocate "
"will be made.");
#else /* MCAM_MODE_VMALLOC */
-static const bool alloc_bufs_at_read = 0;
+static const bool alloc_bufs_at_read;
static const int n_dma_bufs = 3; /* Used by S/G_PARM */
#endif /* MCAM_MODE_VMALLOC */