]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Fri, 2 Sep 2022 07:33:20 +0000 (07:33 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:32:58 +0000 (14:32 -0400)
commitb7ee1b29f0a0fc9966255cb3e15645922548b999
tree015dd08e3611f76d19b470ce83c07d3cab5ae4d5
parentae4ca48a5667e8c28a788ac26bbe36d0998192eb
drm/radeon: Remove the unneeded result variable

Return the value radeon_drm_ioctl() directly instead of storing it in
another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_drv.c