diff options
author | Inki Dae <inki.dae@samsung.com> | 2017-07-03 17:42:27 +0900 |
---|---|---|
committer | Archit Taneja <architt@codeaurora.org> | 2017-07-06 14:16:46 +0530 |
commit | f74c527591b02a296e34d94c181b423587523f9e (patch) | |
tree | af8890835f975e9eba2be3473ffb7a712b8a02fd /drivers/gpu/drm | |
parent | dc01732eee8c029bf148be2e9476b9526727b56f (diff) | |
download | linux-f74c527591b02a296e34d94c181b423587523f9e.tar.bz2 |
drm/bridge: ti-tfp410: clean up drm_bridge_add call
This patch removes unnecessary checking of return value.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1499071350-25168-12-git-send-email-inki.dae@samsung.com
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/bridge/ti-tfp410.c | 6 |
1 files changed, 1 insertions, 5 deletions
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: |