]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: remove the redeclaration of variable i
authorSunil Khatri <sunil.khatri@amd.com>
Wed, 24 Sep 2025 12:33:07 +0000 (18:03 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Sep 2025 19:46:35 +0000 (15:46 -0400)
commit4e3b45d7b6c36d7d1b9a30b13d2dfa890e7a0763
treeb346305dfa86cb82fec5f9bea75efbff139ec3bb
parent883bd89d00085c2c5f1efcd25861745cb039f9e3
drm/amdgpu: remove the redeclaration of variable i

Variable "i" has been redeclared as integer later in the function
which is wrong and not serving any purpose.

Fixes: 899fbde14646 ("drm/amdgpu: replace get_user_pages with HMM mirror helpers")
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c