diff options
author | Aleksandar Markovic <[email protected]> | 2017-11-02 12:14:03 +0100 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2017-12-12 17:20:20 +0100 |
commit | 8904d5b1a31febe0ced1f56aa347e761668af571 (patch) | |
tree | a3f5cd68af91c2cdea81ecb0973791dc97c72ba5 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 95306f0469580ba94e909d63ee1e2a67c5dc5cba (diff) |
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 <[email protected]>
Cc: Douglas Leung <[email protected]>
Cc: Goran Ferenc <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Maciej W. Rozycki <[email protected]>
Cc: Miodrag Dinic <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: Petar Jovanovic <[email protected]>
Cc: Raghu Gandham <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/17586/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions