Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <linux@rasmusvillemoes.dk>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Rasmus Villemoes and committed by
Benjamin Herrenschmidt
2055fb41 716821c9

+2 -1
+2 -1
drivers/macintosh/smu.c
··· 1257 1257 if (pp->busy && pp->cmd.status != 1) 1258 1258 mask |= POLLIN; 1259 1259 spin_unlock_irqrestore(&pp->lock, flags); 1260 - } if (pp->mode == smu_file_events) { 1260 + } 1261 + if (pp->mode == smu_file_events) { 1261 1262 /* Not yet implemented */ 1262 1263 } 1263 1264 return mask;