Skip to contentSkip to conversation

RAS: Remove unneeded semicolon

PATCH New Yang Li 1 participant 1 message Jan 26, 2024

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/ras/amd/atl/denormalize.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ras/amd/atl/denormalize.c +1 -1
index 01f1d0fb6799..80d72b857076 100644
@@ -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;
Signature · 1 line
2.20.1.7.g153144c