aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/perf/gen_perf.py
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-06-22 13:31:53 +0100
committerEric Engestrom <[email protected]>2019-07-31 09:41:05 +0100
commiteee70e09bf2e24e6baec30a6569dfcb2155e467b (patch)
treeb117670a0fa158b32be6a84dea718521f6a5ef26 /src/intel/perf/gen_perf.py
parente775b938b25fb78129963f8323181997c265bc42 (diff)
intel: replace MAYBE_UNUSED with UNUSED
MAYBE_UNUSED is going away, so let's replace legitimate uses of it with UNUSED, which the former aliased to so far anyway. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/intel/perf/gen_perf.py')
-rw-r--r--src/intel/perf/gen_perf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/perf/gen_perf.py b/src/intel/perf/gen_perf.py
index 8874845613a..ef3aca64f2e 100644
--- a/src/intel/perf/gen_perf.py
+++ b/src/intel/perf/gen_perf.py
@@ -278,7 +278,7 @@ def output_counter_read(gen, set, counter):
read_eq = counter.get('equation')
c("static " + ret_type)
- c(counter.read_sym + "(MAYBE_UNUSED struct gen_perf *perf,\n")
+ c(counter.read_sym + "(UNUSED struct gen_perf *perf,\n")
c_indent(len(counter.read_sym) + 1)
c("const struct gen_perf_query_info *query,\n")
c("const uint64_t *accumulator)\n")