diff options
author | Aleksandar Markovic <aleksandar.markovic@mips.com> | 2017-11-02 12:14:03 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-12-12 17:20:20 +0100 |
commit | 8904d5b1a31febe0ced1f56aa347e761668af571 (patch) | |
tree | a3f5cd68af91c2cdea81ecb0973791dc97c72ba5 /arch/xtensa | |
parent | 95306f0469580ba94e909d63ee1e2a67c5dc5cba (diff) | |
download | linux-8904d5b1a31febe0ced1f56aa347e761668af571.tar.bz2 |
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>
Cc: Douglas Leung <douglas.leung@mips.com>
Cc: Goran Ferenc <goran.ferenc@mips.com>
Cc: James Hogan <james.hogan@mips.com>
Cc: Maciej W. Rozycki <macro@mips.com>
Cc: Miodrag Dinic <miodrag.dinic@mips.com>
Cc: Paul Burton <paul.burton@mips.com>
Cc: Petar Jovanovic <petar.jovanovic@mips.com>
Cc: Raghu Gandham <raghu.gandham@mips.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/17586/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions