[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201027190726.1588801-1-trix@redhat.com>
Date: Tue, 27 Oct 2020 12:07:26 -0700
From: trix@...hat.com
To: alexander.deucher@....com, christian.koenig@....com,
airlied@...ux.ie, daniel@...ll.ch, jonathan.kim@....com,
harish.kasiviswanathan@....com, Felix.Kuehling@....com,
zhengbin13@...wei.com, luben.tuikov@....com,
Joseph.Greathouse@....com, Hawking.Zhang@....com,
guchun.chen@....com, john.clements@....com, tao.zhou1@....com,
Dennis.Li@....com, Stanley.Yang@....com
Cc: amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, Tom Rix <trix@...hat.com>
Subject: [PATCH] drm/amdgpu: remove unneeded semicolon
From: Tom Rix <trix@...hat.com>
A semicolon is not needed after a switch statement.
Signed-off-by: Tom Rix <trix@...hat.com>
---
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(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
index 1b213c4ddfcb..19c0a3655228 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
@@ -654,7 +654,7 @@ int amdgpu_pmu_init(struct amdgpu_device *adev)
default:
return 0;
- };
+ }
return ret;
}
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
index 8bf6a7c056bc..a61cf8cfbfc3 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
@@ -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
Powered by blists - more mailing lists