public inbox for linux-edac@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] RAS: Remove unneeded semicolon
@ 2024-01-26  1:02 Yang Li
  0 siblings, 0 replies; only message in thread
From: Yang Li @ 2024-01-26  1:02 UTC (permalink / raw)
  To: tony.luck, bp, Yazen.Ghannam; +Cc: linux-edac, linux-kernel, Yang Li

This patch removes the unnecessary semicolons at the end of the
switch-case statements which cleans up the code and ensures consistency
with the rest of the kernel coding style.

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/ras/amd/atl/denormalize.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ras/amd/atl/denormalize.c b/drivers/ras/amd/atl/denormalize.c
index 01f1d0fb6799..80d72b857076 100644
--- a/drivers/ras/amd/atl/denormalize.c
+++ b/drivers/ras/amd/atl/denormalize.c
@@ -469,7 +469,7 @@ static int denorm_addr_df4_np2(struct addr_ctx *ctx)
 	default:
 		atl_debug_on_bad_intlv_mode(ctx);
 		return -EINVAL;
-	};
+	}
 
 	if (ctx->map.num_intlv_sockets == 1) {
 		hash_pa8	= BIT_ULL(shift_value) & ctx->ret_addr;
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-26  1:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-26  1:02 [PATCH -next] RAS: Remove unneeded semicolon Yang Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox