summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-05-14 23:14:23 +0000
committerimp <imp@FreeBSD.org>2001-05-14 23:14:23 +0000
commit0c1ac06a70fce198828a2e54449f08702054a26f (patch)
treed3b690704fe8631ad4b7a30215f5f495fe357f26 /sys/pccard/pcic.c
parent998c85a4701c9e13884c015a263976d2f8600792 (diff)
downloadFreeBSD-src-0c1ac06a70fce198828a2e54449f08702054a26f.zip
FreeBSD-src-0c1ac06a70fce198828a2e54449f08702054a26f.tar.gz
It turns out that pcic_slot::slotnum was really unused, so don't set
it.
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r--sys/pccard/pcic.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index 2ca6af0..3179d553 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -87,7 +87,6 @@ static void pcic98_resume(struct slot *);
* Per-slot data table.
*/
struct pcic_slot {
- int slotnum; /* My slot number */
int index; /* Index register */
int data; /* Data register */
int offset; /* Offset value for index */
@@ -475,7 +474,6 @@ pcic_probe(device_t dev)
* Allocate a slot and initialise the data structures.
*/
validslots++;
- sp->slotnum = slotnum + sc->unit * PCIC_CARD_SLOTS;
sp->slt = (struct slot *) 1;
/*
* Modem cards send the speaker audio (dialing noises)
OpenPOWER on IntegriCloud