From edf69879eadaec0c72ba7ef5e7d2389946c6644b Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Fri, 5 Apr 2019 14:09:39 -0500 Subject: [PATCH] ppc64: remove unnecessary parentheses --- arch/ppc64/makecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ppc64/makecontext.c b/arch/ppc64/makecontext.c index 8a293b5..84d390a 100644 --- a/arch/ppc64/makecontext.c +++ b/arch/ppc64/makecontext.c @@ -36,7 +36,7 @@ __makecontext(ucontext_t *ucp, void (*func)(), int argc, ...) sp = (greg_t *) ((uintptr_t) ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size); sp -= stack_args + 4; - sp = (greg_t *) (((uintptr_t) sp & -16L)); + sp = (greg_t *) ((uintptr_t) sp & -16L); ucp->uc_mcontext.gp_regs[REG_NIP] = (uintptr_t) func; ucp->uc_mcontext.gp_regs[REG_LNK] = (uintptr_t) &__start_context;