signotify: don't create a stack local that isn't used on non-debug builds
This commit is contained in:
parent
46117e1f0c
commit
ddd4d15ecd
@ -605,11 +605,8 @@ cursig(struct thread *td)
|
|||||||
void
|
void
|
||||||
signotify(struct thread *td)
|
signotify(struct thread *td)
|
||||||
{
|
{
|
||||||
struct proc *p;
|
|
||||||
|
|
||||||
p = td->td_proc;
|
PROC_LOCK_ASSERT(td->td_proc, MA_OWNED);
|
||||||
|
|
||||||
PROC_LOCK_ASSERT(p, MA_OWNED);
|
|
||||||
|
|
||||||
if (SIGPENDING(td)) {
|
if (SIGPENDING(td)) {
|
||||||
thread_lock(td);
|
thread_lock(td);
|
||||||
|
Loading…
Reference in New Issue
Block a user