diff options
author | Jani Nikula <jani.nikula@intel.com> | 2023-05-26 19:38:05 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2023-06-07 13:25:38 +0300 |
commit | ace873049e8cb543f00d8393dcad19711e7ec969 (patch) | |
tree | a67b681db0fc7c8df387e3d7b23aa1836efd0aab /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1032a491e2b5fc9793be31aae2d9e207975a1e7e (diff) |
drm/i915: annotate maybe unused but set intel_plane_state variables
Prepare for re-enabling -Wunused-but-set-variable.
for_each_new_intel_plane_in_state() requires passing in a struct
intel_plane_state pointer, which it uses, but in many places this leads
to warning about unused but set variables. Annotate them with
__maybe_unused.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/438ff3b257b7f85ecca5750ae8687336faee0a79.1685119007.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions