diff options
author | Wei Yongjun <[email protected]> | 2020-07-29 23:59:02 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-07-29 18:02:21 +0200 |
commit | 22362aa30bad6f03b5bcbbeee3cdc61950d40086 (patch) | |
tree | eb73ce1fe1bdf881ff89a0187d27f15e6312522c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8f042191d430f4144d23ebc2206e8cf73e6b1cbf (diff) |
habanalabs: remove unused but set variable 'ctx_asid'
Gcc report warning as follows:
drivers/misc/habanalabs/common/command_submission.c:373:6: warning:
variable 'ctx_asid' set but not used [-Wunused-but-set-variable]
373 | int ctx_asid, rc;
| ^~~~~~~~
This variable is not used in function cs_timedout(), this commit
remove it to fix the warning.
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions