git: 4db2ff4fb7fd - stable/13 - vfp_init: eliminate fpexc write only variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Oct 2022 04:29:15 UTC
The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=4db2ff4fb7fd5c74d4b967d157e1bb7e23093b18 commit 4db2ff4fb7fd5c74d4b967d157e1bb7e23093b18 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-07-08 17:53:29 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-10-02 04:25:51 +0000 vfp_init: eliminate fpexc write only variable Sponsored by: Netflix (cherry picked from commit feb08ab0cf847600e64a928e55a5ae1e5fd028cf) --- 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;