FROMLIST: MIPS: math-emu: Avoid an assignment within if statement condition
Move invocation of fpu_emu() to be out of if statement condition. This makes code easier to follow and debug, and fixes a checkpatch warning. Signed-off-by: Aleksandar Markovic <aleksandar.markovic@mips.com> (cherry picked from: https://patchwork.linux-mips.org/patch/17586/) Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
0d0e0871fd
commit
7ac185315b
1 changed files with 2 additions and 1 deletions
|
@ -1354,7 +1354,8 @@ branch_common:
|
|||
return SIGILL;
|
||||
|
||||
/* a real fpu computation instruction */
|
||||
if ((sig = fpu_emu(xcp, ctx, ir)))
|
||||
sig = fpu_emu(xcp, ctx, ir);
|
||||
if (sig)
|
||||
return sig;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue