summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/compat/ndis/kern_windrv.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/compat/ndis/kern_windrv.c b/sys/compat/ndis/kern_windrv.c
index 021bea6..b42ff45 100644
--- a/sys/compat/ndis/kern_windrv.c
+++ b/sys/compat/ndis/kern_windrv.c
@@ -883,13 +883,10 @@ static void
x86_oldldt(dummy)
void *dummy;
{
- struct thread *t;
struct x86desc *gdt;
struct gdt gtable;
uint16_t ltable;
- t = curthread;
-
mtx_lock_spin(&dt_lock);
/* Grab location of existing GDT. */
OpenPOWER on IntegriCloud