summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-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