mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Drop useless assignment, and add a KASSERT to make sure it really was useless.
Reviewed by: nick, jhb Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D26649
This commit is contained in:
parent
8b88330ed6
commit
f157761902
1 changed files with 3 additions and 1 deletions
|
|
@ -163,7 +163,9 @@ svc_handler(struct trapframe *frame)
|
|||
struct thread *td;
|
||||
|
||||
td = curthread;
|
||||
td->td_frame = frame;
|
||||
|
||||
KASSERT(td->td_frame == frame,
|
||||
("%s: td_frame %p != frame %p", __func__, td->td_frame, frame));
|
||||
|
||||
syscallenter(td);
|
||||
syscallret(td);
|
||||
|
|
|
|||
Loading…
Reference in a new issue