Remove unused (besides being initialized) variable.
This commit is contained in:
parent
6b4c9eb44a
commit
fa37873521
@ -1374,7 +1374,6 @@ ptrace_clear_single_step(struct thread *td)
|
||||
int
|
||||
fill_regs(struct thread *td, struct reg *regs)
|
||||
{
|
||||
struct pcb *pcb;
|
||||
struct trapframe *tp;
|
||||
|
||||
tp = td->td_frame;
|
||||
@ -1398,7 +1397,6 @@ fill_regs(struct thread *td, struct reg *regs)
|
||||
regs->r_rflags = tp->tf_rflags;
|
||||
regs->r_rsp = tp->tf_rsp;
|
||||
regs->r_ss = tp->tf_ss;
|
||||
pcb = td->td_pcb;
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user