mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
drm/sti: sti_vdo: 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: https://patchwork.freedesktop.org/patch/msgid/1499071350-25168-15-git-send-email-inki.dae@samsung.com
This commit is contained in:
parent
e691009154
commit
8513945527
1 changed files with 1 additions and 5 deletions
|
@ -463,11 +463,7 @@ static int sti_dvo_bind(struct device *dev, struct device *master, void *data)
|
|||
bridge->driver_private = dvo;
|
||||
bridge->funcs = &sti_dvo_bridge_funcs;
|
||||
bridge->of_node = dvo->dev.of_node;
|
||||
err = drm_bridge_add(bridge);
|
||||
if (err) {
|
||||
DRM_ERROR("Failed to add bridge\n");
|
||||
return err;
|
||||
}
|
||||
drm_bridge_add(bridge);
|
||||
|
||||
err = drm_bridge_attach(encoder, bridge, NULL);
|
||||
if (err) {
|
||||
|
|
Loading…
Reference in a new issue