From owner-svn-src-all@FreeBSD.ORG Fri Feb 6 00:55:20 2009 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 2EDC3106567D; Fri, 6 Feb 2009 00:55:20 +0000 (UTC) (envelope-from wkoszek@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1BE2A8FC16; Fri, 6 Feb 2009 00:55:20 +0000 (UTC) (envelope-from wkoszek@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 n160tKsD044349; Fri, 6 Feb 2009 00:55:20 GMT (envelope-from wkoszek@svn.freebsd.org) Received: (from wkoszek@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n160tKn0044348; Fri, 6 Feb 2009 00:55:20 GMT (envelope-from wkoszek@svn.freebsd.org) Message-Id: <200902060055.n160tKn0044348@svn.freebsd.org> From: "Wojciech A. Koszek" Date: Fri, 6 Feb 2009 00:55:20 +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: r188216 - head/sys/dev/cardbus 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: Fri, 06 Feb 2009 00:55:20 -0000 Author: wkoszek Date: Fri Feb 6 00:55:19 2009 New Revision: 188216 URL: http://svn.freebsd.org/changeset/base/188216 Log: Remove unused variable. Found with: Coverity Prevent(tm) CID: 4138 Modified: head/sys/dev/cardbus/cardbus_device.c Modified: head/sys/dev/cardbus/cardbus_device.c ============================================================================== --- head/sys/dev/cardbus/cardbus_device.c Fri Feb 6 00:50:46 2009 (r188215) +++ head/sys/dev/cardbus/cardbus_device.c Fri Feb 6 00:55:19 2009 (r188216) @@ -98,12 +98,10 @@ static int cardbus_device_buffer_cis(device_t parent, device_t child, struct cis_buffer *cbp) { - struct cardbus_softc *sc; struct tuple_callbacks cb[] = { {CISTPL_GENERIC, "GENERIC", cardbus_build_cis} }; - sc = device_get_softc(parent); return (cardbus_parse_cis(parent, child, cb, cbp)); }