]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: remove variable "result" in dcn20_patch_unknown_plane_state()
authorJason Yan <yanaijie@huawei.com>
Thu, 7 May 2020 11:07:03 +0000 (19:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 May 2020 20:25:08 +0000 (16:25 -0400)
commitb1c3b7f13e40bec6c5b311ce10728eb37133e19d
treea38e7d662a8586d089305b56bc3b76bb9ae860e2
parentecc8c2e193088ca66c71c192b94e655c08e10e84
drm/amd/display: remove variable "result" in dcn20_patch_unknown_plane_state()

Fix the following coccicheck warning:

drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c:3216:16-22:
Unneeded variable: "result". Return "DC_OK" on line 3229

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c