Remove write-only variable.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
4fb4ebe0a4
commit
08a80e1c0b
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user