drm/amdgpu: remove unneeded semicolon
Subsystems (2)
PATCH 1/1 drm/amdgpu: remove unneeded semicolon
From: Tom Rix <[email protected]>
A semicolon is not needed after a switch statement.
Signed-off-by Tom Rix <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c +1 -1
@@ -654,7 +654,7 @@ int amdgpu_pmu_init(struct amdgpu_device *adev)default :return 0 ; - }; + }return ret; }
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +1 -1
@@ -953,7 +953,7 @@ static char *amdgpu_ras_badpage_flags_str(unsigned int flags)case AMDGPU_RAS_RETIRE_PAGE_FAULT :default :return "F" ; - }; + } }/**
Signature · 1 line
2.18.1
Alex Deucher
AppliedApplied. I dropped the first hunk as that fix had already been submitted by someone else.
Alex
Quoted 40 lines · On Tue, Oct 27, 2020 at 3:07 PM <[email protected]> wrote:
From: Tom Rix <[email protected]>
A semicolon is not needed after a switch statement.
Signed-off-by Tom Rix <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c +1
-1@@ -654,7 +654,7 @@ int amdgpu_pmu_init(struct amdgpu_device *adev)default :return 0 ; - }; + }return ret; }drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +1
-2@@ -953,7 +953,7 @@ static char *amdgpu_ras_badpage_flags_str(unsigned int flags)case AMDGPU_RAS_RETIRE_PAGE_FAULT :default :return "F" ; - }; + } }/** -- 2.18.1
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx