Remove unused variable.

Found with:     Coverity Prevent(tm)
CID: 542

Approved by: weongyo
This commit is contained in:
ganbold 2008-12-28 13:50:58 +00:00
parent 4d655f6e02
commit ab8a937c28

View File

@ -883,13 +883,10 @@ static void
x86_oldldt(dummy) x86_oldldt(dummy)
void *dummy; void *dummy;
{ {
struct thread *t;
struct x86desc *gdt; struct x86desc *gdt;
struct gdt gtable; struct gdt gtable;
uint16_t ltable; uint16_t ltable;
t = curthread;
mtx_lock_spin(&dt_lock); mtx_lock_spin(&dt_lock);
/* Grab location of existing GDT. */ /* Grab location of existing GDT. */