aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/omap3isp/isph3a_aewb.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-12-21 16:44:34 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-05 14:48:13 -0200
commit3d5a71ef32742298f9022043160a2c6cbfdf30ac (patch)
tree4c5350b2e88c7aa30abae2bf0379c587ca0bde13 /drivers/media/platform/omap3isp/isph3a_aewb.c
parent3fdfedaaa7f243f3347084231c64f6c1be0ba131 (diff)
[media] omap3isp: Remove unneeded memset after kzalloc
kzalloc initializes the memory it allocates to 0, there's no need for an explicit memset. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/omap3isp/isph3a_aewb.c')
-rw-r--r--drivers/media/platform/omap3isp/isph3a_aewb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/omap3isp/isph3a_aewb.c b/drivers/media/platform/omap3isp/isph3a_aewb.c
index 036e9961d027..1b908fd2e3cf 100644
--- a/drivers/media/platform/omap3isp/isph3a_aewb.c
+++ b/drivers/media/platform/omap3isp/isph3a_aewb.c
@@ -306,7 +306,6 @@ int omap3isp_h3a_aewb_init(struct isp_device *isp)
if (!aewb_cfg)
return -ENOMEM;
- memset(aewb, 0, sizeof(*aewb));
aewb->ops = &h3a_aewb_ops;
aewb->priv = aewb_cfg;
aewb->dma_ch = -1;

Privacy Policy