This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] av7110: fix confusing indenting
Author:  Dan Carpenter <[email protected]>
Date:    Fri Mar 28 05:26:03 2014 -0300

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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/pci/ttpci/av7110_av.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=bc8aacecf22922062e283b3032d5985af51e006a

diff --git a/drivers/media/pci/ttpci/av7110_av.c 
b/drivers/media/pci/ttpci/av7110_av.c
index 301029c..9544cfc 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)
                if (av7110->playing) {
                        if (FREE_COND)
                                mask |= (POLLOUT | POLLWRNORM);
-                       } else /* if not playing: may play if asked for */
-                               mask |= (POLLOUT | POLLWRNORM);
+               } else {
+                       /* if not playing: may play if asked for */
+                       mask |= (POLLOUT | POLLWRNORM);
+               }
        }
 
        return mask;

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to