소스 검색

powerpc: Remove double braces in alignment code.

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>
Anton Blanchard 10 년 전
부모
커밋
6f791bef76
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      arch/powerpc/kernel/align.c

+ 1 - 1
arch/powerpc/kernel/align.c

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