Commit 289d513b authored by kbuild test robot's avatar kbuild test robot Committed by Alex Deucher

drm/amdgpu: fix semicolon.cocci warnings

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:405:2-3: Unneeded semicolon
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:435:2-3: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: xinhui pan <xinhui.pan@amd.com>
Signed-off-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 108c6a63
...@@ -589,7 +589,7 @@ static int amdgpu_ras_disable_all_features(struct amdgpu_device *adev, ...@@ -589,7 +589,7 @@ static int amdgpu_ras_disable_all_features(struct amdgpu_device *adev,
if (amdgpu_ras_feature_enable(adev, &obj->head, 0)) if (amdgpu_ras_feature_enable(adev, &obj->head, 0))
break; break;
} }
}; }
return con->features; return con->features;
} }
...@@ -619,7 +619,7 @@ static int amdgpu_ras_enable_all_features(struct amdgpu_device *adev, ...@@ -619,7 +619,7 @@ static int amdgpu_ras_enable_all_features(struct amdgpu_device *adev,
if (amdgpu_ras_feature_enable(adev, &head, 1)) if (amdgpu_ras_feature_enable(adev, &head, 1))
break; break;
} }
}; }
return con->features; return con->features;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment