diff options
author | 2017-12-26 14:25:47 +0100 | |
---|---|---|
committer | 2018-01-21 23:37:43 +1100 | |
commit | 104d55ae4df928c205268c1eb83b806b53027e13 (patch) | |
tree | 7af66409dd5c1ba7755e64d90789fcd4cf334ab0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/xive: Properly use static keyword for inline function (diff) | |
download | linux-dev-104d55ae4df928c205268c1eb83b806b53027e13.tar.xz linux-dev-104d55ae4df928c205268c1eb83b806b53027e13.zip |
powerpc/xmon: Do not compute/store the major opcode
In commit 5b102782c7f4 ("powerpc/xmon: Enable disassembly files (compilation
changes)") usage of variable `op` has been removed. Completely remove opcode
computation since not used anymore.
Fix fatal warning:
arch/powerpc/xmon/ppc-dis.c: In function ‘lookup_powerpc’:
arch/powerpc/xmon/ppc-dis.c:96:17: error: variable ‘op’ set but not used [-Werror=unused-but-set-variable]
unsigned long op;
^~
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions