mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
[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>
This commit is contained in:
parent
691903f932
commit
bc8aacecf2
@ -958,8 +958,10 @@ static unsigned int dvb_video_poll(struct file *file, poll_table *wait)
|
|||||||
if (av7110->playing) {
|
if (av7110->playing) {
|
||||||
if (FREE_COND)
|
if (FREE_COND)
|
||||||
mask |= (POLLOUT | POLLWRNORM);
|
mask |= (POLLOUT | POLLWRNORM);
|
||||||
} else /* if not playing: may play if asked for */
|
} else {
|
||||||
mask |= (POLLOUT | POLLWRNORM);
|
/* if not playing: may play if asked for */
|
||||||
|
mask |= (POLLOUT | POLLWRNORM);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return mask;
|
return mask;
|
||||||
|
Loading…
Reference in New Issue
Block a user