Remove unused variable.
Found with: Coverity Prevent(tm) CID: 542 Approved by: weongyo
This commit is contained in:
parent
4d655f6e02
commit
ab8a937c28
@ -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. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user