]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/modes: tag unused variables to avoid warnings
authorBenjamin Gaignard <benjamin.gaignard@st.com>
Tue, 10 Dec 2019 10:24:37 +0000 (11:24 +0100)
committerBenjamin Gaignard <benjamin.gaignard@st.com>
Thu, 9 Jan 2020 16:17:28 +0000 (17:17 +0100)
commitf199af00186cb7eb2d842633e47689fb7b791e60
tree1a5fdbac7f70cc7822472209912eff9b661da492
parenta511981847ce8bb8d189f218fc4daa6c137abfc0
drm/modes: tag unused variables to avoid warnings

Some variables are set but never used. To avoid warning when compiling
with W=1 and keep the algorithm like it is tag theses variables
with _maybe_unused macro.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20191210102437.19377-1-benjamin.gaignard@st.com
drivers/gpu/drm/drm_modes.c