[PATCH v2] gpu: ipu-v3: ipu-dc: Remove unused 'di' variable

Philipp Zabel p.zabel at pengutronix.de
Wed Oct 4 10:20:23 UTC 2017


On Sat, 2017-09-16 at 22:03 -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at nxp.com>
> 
> The 'di' variable is never used inside ipu_dc_enable_channel(),
> so just remove it.
> 
> This fixes the following build warning with W=1:
> 
> drivers/gpu/ipu-v3/ipu-dc.c: In function 'ipu_dc_enable_channel':
> drivers/gpu/ipu-v3/ipu-dc.c:252:6: warning: variable 'di' set but not
> used [-Wunused-but-set-variable] 
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>

Thank you, applied to imx-drm/next.

regards
Philipp


More information about the dri-devel mailing list