__giveup_vsx already calls those two functions

Signed-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
---
 arch/powerpc/kernel/process.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index 14b9a3c46c5d..bfbd6083f841 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -375,10 +375,6 @@ void enable_kernel_vsx(void)
                 */
                if(!msr_tm_active(cpumsr) && 
msr_tm_active(current->thread.regs->msr))
                        return;
-               if (current->thread.regs->msr & MSR_FP)
-                       __giveup_fpu(current);
-               if (current->thread.regs->msr & MSR_VEC)
-                       __giveup_altivec(current);
                __giveup_vsx(current);
        }
 }
-- 
2.13.4

Reply via email to