[PATCH 2/2] drm/omap: hdmi: Remove unused variable

Thierry Reding thierry.reding at gmail.com
Tue Jun 21 13:56:45 UTC 2016


From: Thierry Reding <treding at nvidia.com>

Commit 973999aa0140 ("drm/omap: Remove regulator API abuse") removed the
only user of the local 'r' variable, which thus became unused.

Signed-off-by: Thierry Reding <treding at nvidia.com>
---
 drivers/gpu/drm/omapdrm/dss/hdmi5.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi5.c b/drivers/gpu/drm/omapdrm/dss/hdmi5.c
index 061f9bab4c9b..0c0a5139a301 100644
--- a/drivers/gpu/drm/omapdrm/dss/hdmi5.c
+++ b/drivers/gpu/drm/omapdrm/dss/hdmi5.c
@@ -120,7 +120,6 @@ static irqreturn_t hdmi_irq_handler(int irq, void *data)
 
 static int hdmi_init_regulator(void)
 {
-	int r;
 	struct regulator *reg;
 
 	if (hdmi.vdda_reg != NULL)
-- 
2.8.3



More information about the dri-devel mailing list