Skip to content

Commit

Permalink
drm/exynos: mic: clean up drm_bridge_add call
Browse files Browse the repository at this point in the history
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-13-git-send-email-inki.dae@samsung.com
  • Loading branch information
daeinki authored and boddob committed Aug 21, 2017
1 parent 8513945 commit 059e3c0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/gpu/drm/exynos/exynos_drm_mic.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,11 +456,7 @@ static int exynos_mic_probe(struct platform_device *pdev)
mic->bridge.funcs = &mic_bridge_funcs;
mic->bridge.of_node = dev->of_node;

ret = drm_bridge_add(&mic->bridge);
if (ret) {
DRM_ERROR("mic: Failed to add MIC to the global bridge list\n");
return ret;
}
drm_bridge_add(&mic->bridge);

pm_runtime_enable(dev);

Expand Down

0 comments on commit 059e3c0

Please sign in to comment.