diff options
author | Drew Davenport <ddavenport@chromium.org> | 2019-12-07 02:13:47 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-01-03 03:12:01 +0300 |
commit | 2b156481dcbc468bf74ba4a8d7efc499165100bf (patch) | |
tree | e0c453b9c0ad015894196352fdb81a543551b840 /drivers/gpu/drm/msm | |
parent | b6fadcade6270400af8986918ede72d8bb30e338 (diff) | |
download | linux-2b156481dcbc468bf74ba4a8d7efc499165100bf.tar.xz |
drm/msm/dpu: Remove unreachable code
The return statement follows another return statement, so will never be
reached.
Signed-off-by: Drew Davenport <ddavenport@chromium.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm')
-rw-r--r-- | drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c index cfd01b0ac7f1..cc2ecf327582 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c @@ -816,6 +816,4 @@ struct dpu_encoder_phys *dpu_encoder_phys_cmd_init( DPU_DEBUG_CMDENC(cmd_enc, "created\n"); return phys_enc; - - return ERR_PTR(ret); } |