powerpc: Remove double braces in alignment code.
authorAnton Blanchard <anton@samba.org>
Fri, 31 Oct 2014 03:47:26 +0000 (14:47 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 9 Nov 2014 22:59:32 +0000 (09:59 +1100)
Looks like I introduced this when adding LE support.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/align.c

index 34f5552..86150fb 100644 (file)
@@ -908,7 +908,7 @@ int fix_alignment(struct pt_regs *regs)
                flush_fp_to_thread(current);
        }
 
-       if ((nb == 16)) {
+       if (nb == 16) {
                if (flags & F) {
                        /* Special case for 16-byte FP loads and stores */
                        PPC_WARN_ALIGNMENT(fp_pair, regs);