]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
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 34f55524d4564bd83db2dce7b8455080c952987d..86150fbb42c39111c7440523f482dbe55e0bd4d9 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);