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)
commitd4242216dd792b2af6f3e6738dfa71cd50bcd791
tree015dd08e3611f76d19b470ce83c07d3cab5ae4d5
parent8a948b1b2f2bef2444c403a2884134d46100ec26
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