]> git.baikalelectronics.ru Git - kernel.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)
commitdba8750da7243a0321a472f0aa55987c55e2a96b
treea38e7d662a8586d089305b56bc3b76bb9ae860e2
parentb30df293fd3bb737a6ea54c950f00c6aee31adff
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