mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
drm: kirin: Remove unreachable return
The 'return 0' in kirin_drm_platform_probe() is unreachable code, so remove it. Cc: Rongrong Zou <[email protected]> Cc: Xinliang Liu <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: dri-devel <[email protected]> Cc: Sam Ravnborg <[email protected]> Acked-by: Xinliang Liu <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Suggested by: Xu YiPing <[email protected]> Signed-off-by: John Stultz <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
This commit is contained in:
parent
46aa549fd1
commit
9ec16cee89
1 changed files with 0 additions and 2 deletions
|
|
@ -208,8 +208,6 @@ static int kirin_drm_platform_probe(struct platform_device *pdev)
|
|||
of_node_put(remote);
|
||||
|
||||
return component_master_add_with_match(dev, &kirin_drm_ops, match);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int kirin_drm_platform_remove(struct platform_device *pdev)
|
||||
|
|
|
|||
Loading…
Reference in a new issue