diff options
author | imp <imp@FreeBSD.org> | 1999-12-06 01:35:37 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-12-06 01:35:37 +0000 |
commit | 484903be510053a1a488f59f6a6dc4e1d930f62c (patch) | |
tree | 84957889f9960da688ac95371b5d0da0becb38fd /sys/pccard/pccard.c | |
parent | ec639a84fc6227c3db0865a965fe3c850fcfaa9a (diff) | |
download | FreeBSD-src-484903be510053a1a488f59f6a6dc4e1d930f62c.zip FreeBSD-src-484903be510053a1a488f59f6a6dc4e1d930f62c.tar.gz |
Remove unused junk: next fields and list head. Likely not completely
needed on software reaching EOL, but I'd have caught the hang bug sooner
had I done this earlier.
Diffstat (limited to 'sys/pccard/pccard.c')
-rw-r--r-- | sys/pccard/pccard.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index ec56bf5..3f5d9cb 100644 --- a/sys/pccard/pccard.c +++ b/sys/pccard/pccard.c @@ -112,8 +112,6 @@ static struct apmhook r_hook[MAXSLOT]; /* APM resume */ #endif /* NAPM > 0 */ static struct slot *pccard_slots[MAXSLOT]; /* slot entries */ -static struct slot *slot_list; -static struct slot_ctrl *cont_list; /* * The driver interface for read/write uses a block @@ -303,15 +301,11 @@ pccard_alloc_slot(struct slot_ctrl *ctrl) slt->ctrl = ctrl; slt->slotnum = slotno; pccard_slots[slotno] = slt; - slt->next = slot_list; - slot_list = slt; /* * If this controller hasn't been seen before, then * link it into the list of controllers. */ if (ctrl->slots++ == 0) { - ctrl->next = cont_list; - cont_list = ctrl; if (ctrl->maxmem > NUM_MEM_WINDOWS) ctrl->maxmem = NUM_MEM_WINDOWS; if (ctrl->maxio > NUM_IO_WINDOWS) |