Remove write-only variable.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
This commit is contained in:
kib 2015-03-12 20:14:48 +00:00
parent 0f7592dbe8
commit e3e7e80678

View File

@ -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),