diff options
author | ganbold <ganbold@FreeBSD.org> | 2008-12-28 13:50:58 +0000 |
---|---|---|
committer | ganbold <ganbold@FreeBSD.org> | 2008-12-28 13:50:58 +0000 |
commit | ab8a937c283fdf4d6095f4cd56b86ac3d9108afe (patch) | |
tree | a746e156af28091175c97fb5eb679cfb4184bd85 /sys/compat | |
parent | 4d655f6e02578d79d31d868c18e2e2c4e1fd5285 (diff) | |
download | FreeBSD-src-ab8a937c283fdf4d6095f4cd56b86ac3d9108afe.zip FreeBSD-src-ab8a937c283fdf4d6095f4cd56b86ac3d9108afe.tar.gz |
Remove unused variable.
Found with: Coverity Prevent(tm)
CID: 542
Approved by: weongyo
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/ndis/kern_windrv.c | 3 |
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. */ |