[media] cx25821-video-upstream-ch2.c: Remove braces
authorLeonid V. Fedorenchik <leonidsbox@gmail.com>
Sat, 22 Oct 2011 04:43:44 +0000 (01:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 20:54:37 +0000 (18:54 -0200)
Remove unnecessary curly braces around single if statement.

Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx25821/cx25821-video-upstream-ch2.c

index 53927e86ce0a5308dbca731757de829c3e32643e..1e452b85f54454e4d3f8ed3167132ac3519eb373 100644 (file)
@@ -610,11 +610,9 @@ static irqreturn_t cx25821_upstream_irq_ch2(int irq, void *dev_id)
        vid_status = cx_read(sram_ch->int_stat);
 
        /* Only deal with our interrupt */
-       if (vid_status) {
-               handled =
-                   cx25821_video_upstream_irq_ch2(dev, channel_num,
-                                                  vid_status);
-       }
+       if (vid_status)
+               handled = cx25821_video_upstream_irq_ch2(dev, channel_num,
+                               vid_status);
 
        if (handled < 0)
                cx25821_stop_upstream_video_ch2(dev);