[patch 2/2] drm/exynos: mic: remove some dead code

From: Dan Carpenter
Date: Thu Mar 17 2016 - 06:39:44 EST


We know "ret" is zero and the test makes static checkers complain so
let's delete this printk.

Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c
index 890c9b1..12db353 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_mic.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_mic.c
@@ -130,8 +130,6 @@ static void mic_set_path(struct exynos_mic *mic, bool enable)
val &= ~(MIC0_RGB_MUX | MIC0_I80_MUX | MIC0_ON_MUX);

regmap_write(mic->sysreg, DSD_CFG_MUX, val);
- if (ret)
- DRM_ERROR("mic: Failed to read system register\n");
}

static int mic_sw_reset(struct exynos_mic *mic)