From: Inki Dae Date: Mon, 3 Jul 2017 08:42:27 +0000 (+0900) Subject: drm/bridge: ti-tfp410: clean up drm_bridge_add call X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f74c527591b02a296e34d94c181b423587523f9e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/bridge: ti-tfp410: 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: http://patchwork.freedesktop.org/patch/msgid/1499071350-25168-12-git-send-email-inki.dae@samsung.com --- diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c index eee4efda829e..7ea2a15e8807 100644 --- a/drivers/gpu/drm/bridge/ti-tfp410.c +++ b/drivers/gpu/drm/bridge/ti-tfp410.c @@ -237,11 +237,7 @@ static int tfp410_init(struct device *dev) } } - ret = drm_bridge_add(&dvi->bridge); - if (ret) { - dev_err(dev, "drm_bridge_add() failed: %d\n", ret); - goto fail; - } + drm_bridge_add(&dvi->bridge); return 0; fail: