diff options
author | Leonid V. Fedorenchik <leonidsbox@gmail.com> | 2011-10-22 08:43:44 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-25 00:54:37 +0400 |
commit | df253423d41d377b353964b8a3343df4507fda7c (patch) | |
tree | ebfebcf5d9384d5bcd83903f09706e717138caf1 /drivers/media/video/cx25821/cx25821-video-upstream-ch2.c | |
parent | 3a59fab41b9935b2e52118b331e71078aec97676 (diff) | |
download | linux-df253423d41d377b353964b8a3343df4507fda7c.tar.xz |
[media] cx25821-video-upstream-ch2.c: Remove braces
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>
Diffstat (limited to 'drivers/media/video/cx25821/cx25821-video-upstream-ch2.c')
-rw-r--r-- | drivers/media/video/cx25821/cx25821-video-upstream-ch2.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c b/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c index 53927e86ce0a..1e452b85f544 100644 --- a/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c +++ b/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c @@ -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); |