gpu: ipu-v3: ipu-dc: Remove unused 'di' variable
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 17 Sep 2017 01:03:22 +0000 (22:03 -0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 4 Oct 2017 10:18:56 +0000 (12:18 +0200)
commite64b9189bfd58e215ee44159767b39b8cf6fa302
treea7422b047b2ec5fb8be256c1ce7dabe773b860d3
parentdbfdd153d4aefec13460c97475737e59af92d8e2
gpu: ipu-v3: ipu-dc: Remove unused 'di' variable

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@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-dc.c