mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
It turns out that pcic_slot::slotnum was really unused, so don't set
it.
This commit is contained in:
parent
12d6689ccd
commit
f81f90ff95
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue