diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-03-28 04:26:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-05-23 11:15:11 -0400 |
commit | bc8aacecf22922062e283b3032d5985af51e006a (patch) | |
tree | 497666f7cd23905673ab04db8995a104d715b521 /drivers/media/pci | |
parent | 691903f932c5feafc149e2877478ef26b198eddb (diff) |
[media] av7110: fix confusing indenting
The else statement here is not aligned with the correct if statement.
I think the code works as intended and it's just the indenting which is
wrong. Also kernel style says we should use curly braces here so I have
added those.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r-- | drivers/media/pci/ttpci/av7110_av.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/pci/ttpci/av7110_av.c b/drivers/media/pci/ttpci/av7110_av.c index 301029ca4535..9544cfc06601 100644 --- a/drivers/media/pci/ttpci/av7110_av.c +++ b/drivers/media/pci/ttpci/av7110_av.c | |||
@@ -958,8 +958,10 @@ static unsigned int dvb_video_poll(struct file *file, poll_table *wait) | |||
958 | if (av7110->playing) { | 958 | if (av7110->playing) { |
959 | if (FREE_COND) | 959 | if (FREE_COND) |
960 | mask |= (POLLOUT | POLLWRNORM); | 960 | mask |= (POLLOUT | POLLWRNORM); |
961 | } else /* if not playing: may play if asked for */ | 961 | } else { |
962 | mask |= (POLLOUT | POLLWRNORM); | 962 | /* if not playing: may play if asked for */ |
963 | mask |= (POLLOUT | POLLWRNORM); | ||
964 | } | ||
963 | } | 965 | } |
964 | 966 | ||
965 | return mask; | 967 | return mask; |