powerpc/macintosh/smu.c: Fix closing brace followed by if
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Fri, 20 Jun 2014 19:44:27 +0000 (21:44 +0200)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Jun 2014 02:43:15 +0000 (12:43 +1000)
A closing brace followed by "if" is almost certainly a mistake. Maybe
"else if" was meant, but in this case it doesn't really matter.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/macintosh/smu.c

index 23b4a3b28dbcec0152f1f348c4e2f9ff634c0902..4eab93aa570bc23a3fedfee3de346614f4974171 100644 (file)
@@ -1257,7 +1257,8 @@ static unsigned int smu_fpoll(struct file *file, poll_table *wait)
                if (pp->busy && pp->cmd.status != 1)
                        mask |= POLLIN;
                spin_unlock_irqrestore(&pp->lock, flags);
-       } if (pp->mode == smu_file_events) {
+       }
+       if (pp->mode == smu_file_events) {
                /* Not yet implemented */
        }
        return mask;