Skip to content
Commit f62ffdb5 authored by Wang ShaoBo's avatar Wang ShaoBo Committed by Greg Kroah-Hartman
Browse files

drm/imx/dcss: fix unused but set variable warnings



[ Upstream commit 523be44c ]

Fix unused but set variable warning building with `make W=1`:

drivers/gpu/drm/imx/dcss/dcss-plane.c:270:6: warning:
 variable ‘pixel_format’ set but not used [-Wunused-but-set-variable]
  u32 pixel_format;
      ^~~~~~~~~~~~

Fixes: 9021c317 ("drm/imx: Add initial support for DCSS on iMX8MQ")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: default avatarLaurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200911014414.4663-1-bobo.shaobowang@huawei.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 577b6246
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment