2024-01-26 01:02:28

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] RAS: Remove unneeded semicolon

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 <[email protected]>
---
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