summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index fc129c4..ccdaa2d 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -261,8 +261,5 @@ ast(struct trapframe *framep)
}
userret(td, framep, sticks);
-#ifdef DIAGNOSTIC
- cred_free_thread(td);
-#endif
mtx_assert(&Giant, MA_NOTOWNED);
}
OpenPOWER on IntegriCloud