From: Rasmus Villemoes Date: Fri, 20 Jun 2014 19:44:27 +0000 (+0200) Subject: powerpc/macintosh/smu.c: Fix closing brace followed by if X-Git-Tag: MMI-PSA29.97-13-9~11852^2~28 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2055fb41ea6bf9507d94b3515528249ce12409e3;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git powerpc/macintosh/smu.c: Fix closing brace followed by if 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 Signed-off-by: Benjamin Herrenschmidt --- diff --git a/drivers/macintosh/smu.c b/drivers/macintosh/smu.c index 23b4a3b28dbc..4eab93aa570b 100644 --- a/drivers/macintosh/smu.c +++ b/drivers/macintosh/smu.c @@ -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;