drm/i915/gem: annotate maybe unused but set variable c
authorJani Nikula <jani.nikula@intel.com>
Fri, 26 May 2023 16:38:03 +0000 (19:38 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 7 Jun 2023 10:24:33 +0000 (13:24 +0300)
commitab438a61e4c3675e6077d232a67284328777d929
treed1e58dbcccf5a6213beaba75bfecd7fb6809fc43
parent927fc4a015937ecdc5de04c144963aa6a57762a2
drm/i915/gem: annotate maybe unused but set variable c

Prepare for re-enabling -Wunused-but-set-variable.

The variable 'c' appears unused, but I'm not sure what should be done
with it. Annotate it with __maybe_unused.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/9ee9e7d7a0a7ad4ff03c14e64b95d3fbcb7885a4.1685119007.git.jani.nikula@intel.com
drivers/gpu/drm/i915/gem/i915_gem_shmem.c