[PATCH 11/14] drm/bridge: ti-tfp410: clean up drm_bridge_add call
Inki Dae
inki.dae at samsung.com
Mon Jul 3 08:42:27 UTC 2017
This patch removes unnecessary checking of return value.
Signed-off-by: Inki Dae <inki.dae at samsung.com>
---
drivers/gpu/drm/bridge/ti-tfp410.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c
index eee4efd..7ea2a15 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:
--
1.9.1
More information about the dri-devel
mailing list