mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
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
This commit is contained in:
parent
dc01732eee
commit
f74c527591
1 changed files with 1 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue