diff mbox

[2/3] powerpc: Remove double braces in alignment code.

Message ID 1414727247-31838-2-git-send-email-anton@samba.org (mailing list archive)
State Accepted
Commit 6f791bef76d66923bc250cbbf4ddbf3f1c944686
Delegated to: Michael Ellerman
Headers show

Commit Message

Anton Blanchard Oct. 31, 2014, 3:47 a.m. UTC
Looks like I introduced this when adding LE support.

Signed-off-by: Anton Blanchard <anton@samba.org>
---
 arch/powerpc/kernel/align.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/powerpc/kernel/align.c b/arch/powerpc/kernel/align.c
index 34f5552..86150fb 100644
--- a/arch/powerpc/kernel/align.c
+++ b/arch/powerpc/kernel/align.c
@@ -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);