drm/amdgpu: delete duplicate condition in gfx_v11_0_soft_reset()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 30 May 2022 11:42:25 +0000 (14:42 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Jun 2022 20:45:00 +0000 (16:45 -0400)
commit4c1b3d0803aef6d39913f1e9d2cfe2c1ccce18e8
tree0b1a3b26d5a6b2d654a016cab68def4f9ea9e78c
parent7a09f61f8e842dd027afa1ce8be8bd86062c8a7b
drm/amdgpu: delete duplicate condition in gfx_v11_0_soft_reset()

We know that "grbm_soft_reset" is true because we're already inside an
if (grbm_soft_reset) condition.  No need to test again.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c