From 0c1ac06a70fce198828a2e54449f08702054a26f Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 14 May 2001 23:14:23 +0000 Subject: It turns out that pcic_slot::slotnum was really unused, so don't set it. --- sys/pccard/pcic.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/pccard/pcic.c') 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) -- cgit v1.1