[media] omap3isp: ccdc: Simplify the ccdc_isr_buffer() function
authorLaurent Pinchart <[email protected]>
Tue, 20 May 2014 00:46:33 +0000 (21:46 -0300)
committerMauro Carvalho Chehab <[email protected]>
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 <[email protected]>
Tested-by: Enrico Butera <[email protected]>
Acked-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/platform/omap3isp/ispccdc.c