drm: kirin: Remove unreachable return
authorJohn Stultz <john.stultz@linaro.org>
Tue, 20 Aug 2019 23:06:04 +0000 (23:06 +0000)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 21 Aug 2019 17:15:33 +0000 (19:15 +0200)
commit9ec16cee89dc479145439966c537edd8117a9bb0
tree746bce772b05f038a8e9c7bd407bc8ee7051cd89
parent46aa549fd1a909a265db3f381fcf739bf43dd95b
drm: kirin: Remove unreachable return

The 'return 0' in kirin_drm_platform_probe() is unreachable
code, so remove it.

Cc: Rongrong Zou <zourongrong@gmail.com>
Cc: Xinliang Liu <z.liuxinliang@hisilicon.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel <dri-devel@lists.freedesktop.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Xinliang Liu <z.liuxinliang@hisilicon.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Suggested by: Xu YiPing <xuyiping@hisilicon.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190820230626.23253-4-john.stultz@linaro.org
drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c