From ab8a937c283fdf4d6095f4cd56b86ac3d9108afe Mon Sep 17 00:00:00 2001 From: ganbold Date: Sun, 28 Dec 2008 13:50:58 +0000 Subject: [PATCH] Remove unused variable. Found with: Coverity Prevent(tm) CID: 542 Approved by: weongyo --- sys/compat/ndis/kern_windrv.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/compat/ndis/kern_windrv.c b/sys/compat/ndis/kern_windrv.c index 021bea65fbd9..b42ff45c0dbd 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. */