diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-11-03 20:28:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-12-03 17:51:56 -0200 |
commit | 245d6b2d505b0575b34e5c02b694bf2e476904b4 (patch) | |
tree | 283c3d1afb726ca0972b58d0339382f1cdcf3242 /drivers/staging/media/omap4iss/iss.c | |
parent | 4334fd18e2bcf9c6aa7c535c25b05b462aab05b3 (diff) | |
download | op-kernel-dev-245d6b2d505b0575b34e5c02b694bf2e476904b4.zip op-kernel-dev-245d6b2d505b0575b34e5c02b694bf2e476904b4.tar.gz |
[media] v4l: omap4iss: Don't initialize fields to 0 manually
The iss_device structure is allocated with kzalloc, there's no need to
initialize its fields to 0 explicitly.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/media/omap4iss/iss.c')
-rw-r--r-- | drivers/staging/media/omap4iss/iss.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/media/omap4iss/iss.c b/drivers/staging/media/omap4iss/iss.c index c7dffa6..7d427d5 100644 --- a/drivers/staging/media/omap4iss/iss.c +++ b/drivers/staging/media/omap4iss/iss.c @@ -1306,7 +1306,6 @@ static int iss_probe(struct platform_device *pdev) iss->dev = &pdev->dev; iss->pdata = pdata; - iss->ref_count = 0; iss->raw_dmamask = DMA_BIT_MASK(32); iss->dev->dma_mask = &iss->raw_dmamask; |