Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2009 00:55:20 +0000 (UTC)
From:      "Wojciech A. Koszek" <wkoszek@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188216 - head/sys/dev/cardbus
Message-ID:  <200902060055.n160tKn0044348@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));
 }
 



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