Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Dec 2008 13:50:58 +0000 (UTC)
From:      Ganbold Tsagaankhuu <ganbold@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186540 - head/sys/compat/ndis
Message-ID:  <200812281350.mBSDowSF014913@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812281350.mBSDowSF014913>