diff options
author | 2021-01-09 16:34:54 +0000 | |
---|---|---|
committer | 2021-01-09 18:29:06 +0000 | |
commit | e3aabe31fd7409b7a9a07029e0e18f28a2535ad7 (patch) | |
tree | b3f4263c4aebb7f7c0a9f99e0f19458e9c8afbec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/gt: Remove unused function 'dword_in_page' (diff) | |
download | linux-dev-e3aabe31fd7409b7a9a07029e0e18f28a2535ad7.tar.xz linux-dev-e3aabe31fd7409b7a9a07029e0e18f28a2535ad7.zip |
drm/i915/gt: Mark up a debug-only function
drivers/gpu/drm/i915//gt/intel_workarounds.c:1394:20: error: function 'is_nonpriv_flags_valid' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
static inline bool is_nonpriv_flags_valid(u32 flags)
This is only used by debug build, so mark it as maybe-unused to keep the
compiler from complaining.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210109163455.28466-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions