]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Fix code style issue
authorCe Sun <cesun102@amd.com>
Mon, 30 Jun 2025 02:29:21 +0000 (10:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Jun 2025 16:08:00 +0000 (12:08 -0400)
commit3b3afba42f9c1b4cbc6cbcfbf722385fe63e96a5
treee0bed3ddf2e513df93379655734dc6984736f93e
parentcfce8f4fa7686657e119392e03964f401efea765
drm/amdgpu: Fix code style issue

cocci warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:6088:8-9:
Unneeded variable: "r". Return "0" on line 6141

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506281925.HHIpXiO7-lkp@intel.com/
Signed-off-by: Ce Sun <cesun102@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c