From owner-svn-src-all@FreeBSD.ORG Sun Dec 28 13:50:59 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36DE91065670; Sun, 28 Dec 2008 13:50:59 +0000 (UTC) (envelope-from ganbold@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2211C8FC17; Sun, 28 Dec 2008 13:50:59 +0000 (UTC) (envelope-from ganbold@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mBSDowkM014914; Sun, 28 Dec 2008 13:50:58 GMT (envelope-from ganbold@svn.freebsd.org) Received: (from ganbold@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBSDowSF014913; Sun, 28 Dec 2008 13:50:58 GMT (envelope-from ganbold@svn.freebsd.org) Message-Id: <200812281350.mBSDowSF014913@svn.freebsd.org> From: Ganbold Tsagaankhuu Date: Sun, 28 Dec 2008 13:50:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186540 - head/sys/compat/ndis X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2008 13:50:59 -0000 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. */