Skip to content

Commit 4139320

Browse files
schspawilldeacon
authored andcommitted
arm64/fpsimd: Remove duplicate SYS_SVCR read
It seems to be a typo, remove the duplicate SYS_SVCR read. Signed-off-by: Schspa Shi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent df07443 commit 4139320

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm64/kernel/fpsimd.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,6 @@ static void fpsimd_save(void)
445445

446446
if (system_supports_sme()) {
447447
u64 *svcr = last->svcr;
448-
*svcr = read_sysreg_s(SYS_SVCR);
449448

450449
*svcr = read_sysreg_s(SYS_SVCR);
451450

0 commit comments

Comments
 (0)