Commit 4139320d authored by Schspa Shi's avatar Schspa Shi Committed by Will Deacon
Browse files

arm64/fpsimd: Remove duplicate SYS_SVCR read



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

Signed-off-by: default avatarSchspa Shi <schspa@gmail.com>
Link: https://lore.kernel.org/r/20220629051023.18173-1-schspa@gmail.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent df07443f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);