svn commit: r188216 - head/sys/dev/cardbus
Wojciech A. Koszek
wkoszek at FreeBSD.org
Thu Feb 5 16:55:20 PST 2009
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));
}
More information about the svn-src-head
mailing list