GC an unused variable in cpu_fork().
This commit is contained in:
parent
6764eb8e7b
commit
3301d20ad9
@ -125,7 +125,6 @@ cpu_fork(struct thread *td1, struct proc *p2, struct thread *td2, int flags)
|
|||||||
struct proc *p1;
|
struct proc *p1;
|
||||||
struct trapframe *tf;
|
struct trapframe *tf;
|
||||||
struct callframe *cf;
|
struct callframe *cf;
|
||||||
struct switchframe *sf;
|
|
||||||
struct pcb *pcb;
|
struct pcb *pcb;
|
||||||
|
|
||||||
KASSERT(td1 == curthread || td1 == &thread0,
|
KASSERT(td1 == curthread || td1 == &thread0,
|
||||||
|
@ -125,7 +125,6 @@ cpu_fork(struct thread *td1, struct proc *p2, struct thread *td2, int flags)
|
|||||||
struct proc *p1;
|
struct proc *p1;
|
||||||
struct trapframe *tf;
|
struct trapframe *tf;
|
||||||
struct callframe *cf;
|
struct callframe *cf;
|
||||||
struct switchframe *sf;
|
|
||||||
struct pcb *pcb;
|
struct pcb *pcb;
|
||||||
|
|
||||||
KASSERT(td1 == curthread || td1 == &thread0,
|
KASSERT(td1 == curthread || td1 == &thread0,
|
||||||
|
Loading…
Reference in New Issue
Block a user