drm/omap: fix unused variable warning in dsi & hdmi
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 3 Jun 2016 11:27:03 +0000 (14:27 +0300)
committerDave Airlie <airlied@redhat.com>
Thu, 9 Jun 2016 02:31:36 +0000 (12:31 +1000)
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/omapdrm/dss/dsi.c
drivers/gpu/drm/omapdrm/dss/hdmi5.c

index 9ed8272e54ae183240c7560f35f969470acb6e5e..56c43f355ce3c8a8d293dd0fef8bc846837ecb61 100644 (file)
@@ -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;
index e129245eb8a9f56c989b342aca9ad25e15abfc8d..9255c0e1e4a7118b3a536241d86aded7fa26d0c4 100644 (file)
@@ -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)