svn commit: r186540 - head/sys/compat/ndis
Ganbold Tsagaankhuu
ganbold at FreeBSD.org
Sun Dec 28 13:50:59 UTC 2008
Author: ganbold (doc committer)
Date: Sun Dec 28 13:50:58 2008
New Revision: 186540
URL: http://svn.freebsd.org/changeset/base/186540
Log:
Remove unused variable.
Found with: Coverity Prevent(tm)
CID: 542
Approved by: weongyo
Modified:
head/sys/compat/ndis/kern_windrv.c
Modified: head/sys/compat/ndis/kern_windrv.c
==============================================================================
--- head/sys/compat/ndis/kern_windrv.c Sun Dec 28 11:04:24 2008 (r186539)
+++ head/sys/compat/ndis/kern_windrv.c Sun Dec 28 13:50:58 2008 (r186540)
@@ -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. */
More information about the svn-src-all
mailing list