git: feb08ab0cf84 - main - vfp_init: eliminate fpexc write only variable

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 05 Apr 2022 04:32:02 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=feb08ab0cf847600e64a928e55a5ae1e5fd028cf

commit feb08ab0cf847600e64a928e55a5ae1e5fd028cf
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-04-04 23:54:55 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-04-05 04:29:12 +0000

    vfp_init: eliminate fpexc write only variable
    
    Sponsored by:           Netflix
---
 sys/arm/arm/vfp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/arm/arm/vfp.c b/sys/arm/arm/vfp.c
index 8a929dd75f27..3fa53c7ae2eb 100644
--- a/sys/arm/arm/vfp.c
+++ b/sys/arm/arm/vfp.c
@@ -104,7 +104,7 @@ set_coprocessorACR(u_int val)
 void
 vfp_init(void)
 {
-	u_int fpsid, fpexc, tmp;
+	u_int fpsid, tmp;
 	u_int coproc, vfp_arch;
 
 	coproc = get_coprocessorACR();
@@ -112,7 +112,6 @@ vfp_init(void)
 	set_coprocessorACR(coproc);
 
 	fpsid = fmrx(fpsid);		/* read the vfp system id */
-	fpexc = fmrx(fpexc);		/* read the vfp exception reg */
 
 	if (!(fpsid & VFPSID_HARDSOFT_IMP)) {
 		vfp_exists = 1;