diff options
author | 2023-05-26 19:38:06 +0300 | |
---|---|---|
committer | 2023-06-07 13:25:48 +0300 | |
commit | 84f9c3c73b9a18a21ea13135d4e850fcf7629f59 (patch) | |
tree | e10bd46b560e5e00eb63ec81be9bc7c7f5a646d4 /tools/perf/scripts/python/stackcollapse.py | |
parent | drm/i915: annotate maybe unused but set intel_plane_state variables (diff) | |
download | wireguard-linux-84f9c3c73b9a18a21ea13135d4e850fcf7629f59.tar.xz wireguard-linux-84f9c3c73b9a18a21ea13135d4e850fcf7629f59.zip |
drm/i915: annotate maybe unused but set intel_crtc_state variables
Prepare for re-enabling -Wunused-but-set-variable.
for_each_new_intel_crtc_in_state() requires passing in a struct
intel_crtc_state pointer, which it uses, but in a few 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/eb041f426bc3d76ef7a0ea906f99367cbf439b1a.1685119007.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions