diff options
author | 2023-05-26 19:38:05 +0300 | |
---|---|---|
committer | 2023-06-07 13:25:38 +0300 | |
commit | ace873049e8cb543f00d8393dcad19711e7ec969 (patch) | |
tree | a67b681db0fc7c8df387e3d7b23aa1836efd0aab /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | drm/i915/selftest: annotate maybe unused but set variable unused (diff) | |
download | wireguard-linux-ace873049e8cb543f00d8393dcad19711e7ec969.tar.xz wireguard-linux-ace873049e8cb543f00d8393dcad19711e7ec969.zip |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions