mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Remove write-only local variable.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
23f6698fbd
commit
a288c757d4
1 changed files with 0 additions and 2 deletions
|
|
@ -2686,7 +2686,6 @@ sched_throw(struct thread *td)
|
|||
void
|
||||
sched_fork_exit(struct thread *td)
|
||||
{
|
||||
struct td_sched *ts;
|
||||
struct tdq *tdq;
|
||||
int cpuid;
|
||||
|
||||
|
|
@ -2696,7 +2695,6 @@ sched_fork_exit(struct thread *td)
|
|||
*/
|
||||
cpuid = PCPU_GET(cpuid);
|
||||
tdq = TDQ_CPU(cpuid);
|
||||
ts = td->td_sched;
|
||||
if (TD_IS_IDLETHREAD(td))
|
||||
td->td_lock = TDQ_LOCKPTR(tdq);
|
||||
MPASS(td->td_lock == TDQ_LOCKPTR(tdq));
|
||||
|
|
|
|||
Loading…
Reference in a new issue