Skip to content

Commit

Permalink
[media] cx25821-video-upstream-ch2.c: Remove braces
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Leonid V. Fedorenchik authored and Mauro Carvalho Chehab committed Nov 24, 2011
1 parent 3a59fab commit df25342
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions drivers/media/video/cx25821/cx25821-video-upstream-ch2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit df25342

Please sign in to comment.