diff options
Diffstat (limited to 'sys/pccard/pccard.c')
-rw-r--r-- | sys/pccard/pccard.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index 274918d..d8187d6 100644 --- a/sys/pccard/pccard.c +++ b/sys/pccard/pccard.c @@ -166,8 +166,6 @@ disable_slot(struct slot *slt) static void disable_slot_to(struct slot *slt) { - int wasinactive; - disable_slot(slt); if (slt->state == empty) printf("pccard: card removed, slot %d\n", slt->slotnum); @@ -704,4 +702,5 @@ pccard_resume(device_t dev) struct slot *slt = PCCARD_DEVICE2SOFTC(dev); slt->ctrl->resume(slt); + return (0); } |