Remove a redundant "td = curthread" statement from profclock().
This commit is contained in:
parent
97a623b578
commit
9bd12a2fd9
@ -458,7 +458,6 @@ profclock(frame)
|
|||||||
* if there is no related user location yet, don't
|
* if there is no related user location yet, don't
|
||||||
* bother trying to count it.
|
* bother trying to count it.
|
||||||
*/
|
*/
|
||||||
td = curthread;
|
|
||||||
if (td->td_proc->p_flag & P_PROFIL)
|
if (td->td_proc->p_flag & P_PROFIL)
|
||||||
addupc_intr(td, CLKF_PC(frame), 1);
|
addupc_intr(td, CLKF_PC(frame), 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user