From: Inki Dae Date: Mon, 3 Jul 2017 08:42:28 +0000 (+0900) Subject: drm/exynos: mic: clean up drm_bridge_add call X-Git-Tag: Ubuntu-5.2.0-15.16~5530^2~30^2~86 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=059e3c0b2fa30b6903de6b78f191028484385c3b;p=mirror_ubuntu-eoan-kernel.git drm/exynos: mic: clean up drm_bridge_add call This patch removes unnecessary checking of return value. Signed-off-by: Inki Dae Signed-off-by: Archit Taneja Link: https://patchwork.freedesktop.org/patch/msgid/1499071350-25168-13-git-send-email-inki.dae@samsung.com --- diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c index 16bbee897e0d..ab333d5b2727 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_mic.c +++ b/drivers/gpu/drm/exynos/exynos_drm_mic.c @@ -456,11 +456,7 @@ static int exynos_mic_probe(struct platform_device *pdev) mic->bridge.funcs = &mic_bridge_funcs; mic->bridge.of_node = dev->of_node; - ret = drm_bridge_add(&mic->bridge); - if (ret) { - DRM_ERROR("mic: Failed to add MIC to the global bridge list\n"); - return ret; - } + drm_bridge_add(&mic->bridge); pm_runtime_enable(dev);