[PATCH] arm64/fpsimd: Remove duplicate SYS_SVCR read

From: Schspa Shi
Date: Wed Jun 29 2022 - 01:10:44 EST


It seems to be a typo, remove the duplicate SYS_SVCR read.

Signed-off-by: Schspa Shi <schspa@xxxxxxxxx>
---
arch/arm64/kernel/fpsimd.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c
index aecf3071efdd..dd63ffc3a2fa 100644
--- a/arch/arm64/kernel/fpsimd.c
+++ b/arch/arm64/kernel/fpsimd.c
@@ -445,7 +445,6 @@ static void fpsimd_save(void)

if (system_supports_sme()) {
u64 *svcr = last->svcr;
- *svcr = read_sysreg_s(SYS_SVCR);

*svcr = read_sysreg_s(SYS_SVCR);

--
2.29.0