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>
This commit is contained in:
Drew Davenport 2019-12-06 16:13:47 -07:00 committed by Rob Clark
parent b6fadcade6
commit 2b156481dc

View File

@ -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);
}