x86/fpu: Always init the state in fpu__clear()
[sfrench/cifs-2.6.git] / arch / x86 / math-emu / fpu_entry.c
index 9e2ba7e667f6109f146fa3a109375813aa989c36..a873da6b46d6b2bb138c58b201d8ca5fb31da4c8 100644 (file)
@@ -113,9 +113,6 @@ void math_emulate(struct math_emu_info *info)
        unsigned long code_base = 0;
        unsigned long code_limit = 0;   /* Initialized to stop compiler warnings */
        struct desc_struct code_descriptor;
-       struct fpu *fpu = &current->thread.fpu;
-
-       fpu__initialize(fpu);
 
 #ifdef RE_ENTRANT_CHECKING
        if (emulating) {