[media] omap3isp: ccdc: Simplify the ccdc_isr_buffer() function
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 20 May 2014 00:46:33 +0000 (21:46 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:14 +0000 (15:25 -0500)
commit0a7b1a01037e0d43e1b85134be4217c7831f57d6
tree4c67f9c47bcd834211451509b0f2fd4f8e0d1974
parent2e8f01725e332c8998b87a6fe09cfc3b105eb643
[media] omap3isp: ccdc: Simplify the ccdc_isr_buffer() function

Instead of using goto statements to a single line return, return the
correct value immediately.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Enrico Butera <ebutera@users.sourceforge.net>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/omap3isp/ispccdc.c