]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] DaVinci-VPFE-Capture: Delete unnecessary braces in vpfe_isr()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 12 Oct 2016 12:54:21 +0000 (09:54 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 14:56:13 +0000 (12:56 -0200)
Do not use curly brackets at one source code place
where a single statement should be sufficient.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/vpfe_capture.c

index 86509d2f274a0824b398207c042138ccd1fa3de2..1acca83426ea002442fcce943fb9bc9652fe4db9 100644 (file)
@@ -615,9 +615,8 @@ static irqreturn_t vpfe_isr(int irq, void *dev_id)
                         * interleavely or separately in memory, reconfigure
                         * the CCDC memory address
                         */
-                       if (field == V4L2_FIELD_SEQ_TB) {
+                       if (field == V4L2_FIELD_SEQ_TB)
                                vpfe_schedule_bottom_field(vpfe_dev);
-                       }
                        goto clear_intr;
                }
                /*