summaryrefslogtreecommitdiffstats
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorwkoszek <wkoszek@FreeBSD.org>2009-02-06 00:55:19 +0000
committerwkoszek <wkoszek@FreeBSD.org>2009-02-06 00:55:19 +0000
commit3d93b85eb4c29a48401123dde8b5d4b4902cec7d (patch)
treed1d965e74d2a3126193263e557ff0faf9196067d /sys/dev/cardbus
parentd2a92510f277a68773979d7d6642ee5a51f86246 (diff)
downloadFreeBSD-src-3d93b85eb4c29a48401123dde8b5d4b4902cec7d.zip
FreeBSD-src-3d93b85eb4c29a48401123dde8b5d4b4902cec7d.tar.gz
Remove unused variable.
Found with: Coverity Prevent(tm) CID: 4138
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/cardbus_device.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/cardbus/cardbus_device.c b/sys/dev/cardbus/cardbus_device.c
index 50e2e98..f39ffb0 100644
--- a/sys/dev/cardbus/cardbus_device.c
+++ b/sys/dev/cardbus/cardbus_device.c
@@ -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));
}
OpenPOWER on IntegriCloud