From 08a80e1c0ba46af9346019f6761b76240b8e19fa Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Thu, 12 Mar 2015 20:14:48 +0000 Subject: [PATCH] Remove write-only variable. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/i386/isa/npx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c index 8cc81185394b..b0ea4e762474 100644 --- a/sys/i386/isa/npx.c +++ b/sys/i386/isa/npx.c @@ -1365,9 +1365,7 @@ fpu_kern_leave(struct thread *td, struct fpu_kern_ctx *ctx) int fpu_kern_thread(u_int flags) { - struct pcb *pcb; - pcb = curpcb; KASSERT((curthread->td_pflags & TDP_KTHREAD) != 0, ("Only kthread may use fpu_kern_thread")); KASSERT(curpcb->pcb_save == get_pcb_user_save_pcb(curpcb),