Browse Source

drm/omap: fix unused variable warning in dsi & hdmi

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Tomi Valkeinen 9 years ago
parent
commit
8533273962
2 changed files with 0 additions and 2 deletions
  1. 0 1
      drivers/gpu/drm/omapdrm/dss/dsi.c
  2. 0 1
      drivers/gpu/drm/omapdrm/dss/hdmi5.c

+ 0 - 1
drivers/gpu/drm/omapdrm/dss/dsi.c

@@ -1167,7 +1167,6 @@ static int dsi_regulator_init(struct platform_device *dsidev)
 {
 	struct dsi_data *dsi = dsi_get_dsidrv_data(dsidev);
 	struct regulator *vdds_dsi;
-	int r;
 
 	if (dsi->vdds_dsi_reg != NULL)
 		return 0;

+ 0 - 1
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)