svn commit: r280046 - stable/10/sys/i386/isa

Konstantin Belousov kib at FreeBSD.org
Sun Mar 15 18:42:20 UTC 2015


Author: kib
Date: Sun Mar 15 18:42:19 2015
New Revision: 280046
URL: https://svnweb.freebsd.org/changeset/base/280046

Log:
  MFC r279936:
  Remove write-only variable.

Modified:
  stable/10/sys/i386/isa/npx.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/i386/isa/npx.c
==============================================================================
--- stable/10/sys/i386/isa/npx.c	Sun Mar 15 18:40:06 2015	(r280045)
+++ stable/10/sys/i386/isa/npx.c	Sun Mar 15 18:42:19 2015	(r280046)
@@ -1365,9 +1365,7 @@ fpu_kern_leave(struct thread *td, struct
 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),


More information about the svn-src-all mailing list