diff options
| author | Warner Losh <imp@FreeBSD.org> | 2005-01-11 05:38:01 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2005-01-11 05:38:01 +0000 |
| commit | eb523c72cfc4cef74f172aa1918d92fa62052282 (patch) | |
| tree | 1345cb64055432e57aee4347c63b7e92884faf0c /sys/dev/pccbb | |
| parent | afa87f87c88646ba5a423c719656850d0c8b9b47 (diff) | |
Notes
Diffstat (limited to 'sys/dev/pccbb')
| -rw-r--r-- | sys/dev/pccbb/pccbb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index d88ec5a5bf00..28b1432c2d72 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -540,9 +540,7 @@ cbb_insert(struct cbb_softc *sc) } else if (sockstate & CBB_STATE_CB_CARD) { if (sc->cbdev != NULL) { sc->flags &= ~CBB_16BIT_CARD; - if (CARD_ATTACH_CARD(sc->cbdev) != 0) - device_printf(sc->dev, - "CardBus card activation failed\n"); + CARD_ATTACH_CARD(sc->cbdev); } else { device_printf(sc->dev, "CardBus card inserted, but no cardbus bus.\n"); |
