summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-06-03 14:39:41 +1000
committerDave Airlie <airlied@redhat.com>2016-06-03 14:39:41 +1000
commitab3ab68493aaac6fea4ad1bb597def9f48f41c71 (patch)
tree70909d53788fee97021f8d9e55369700df9a04fb
parentf1777aaf8468c674e2ef962fca6ef0e716755e00 (diff)
drm/omap: fix unused variable warning.drm-fixes-for-v4.7-rc2
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/omapdrm/dss/hdmi4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi4.c b/drivers/gpu/drm/omapdrm/dss/hdmi4.c
index f93c70acb768..4d46cdf7a037 100644
--- a/drivers/gpu/drm/omapdrm/dss/hdmi4.c
+++ b/drivers/gpu/drm/omapdrm/dss/hdmi4.c
@@ -101,7 +101,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)