diff options
author | netchild <netchild@FreeBSD.org> | 2007-04-01 14:15:26 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2007-04-01 14:15:26 +0000 |
commit | 4ef1000daa9ce52b395634fda3e9e270019eca25 (patch) | |
tree | 08b31371fd8976026356f819444485e9b387848c /sys | |
parent | f2e6b7856fb7f8c051e6278bf0854587163cc607 (diff) | |
download | FreeBSD-src-4ef1000daa9ce52b395634fda3e9e270019eca25.zip FreeBSD-src-4ef1000daa9ce52b395634fda3e9e270019eca25.tar.gz |
Tell a statistic checker that not checking the return value of the probing
of the mii phy is intended for this chip.
Found by: Coverity Prevent (tm)
CID: 43
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ed/if_ed_pccard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index a1e2938..872aed4 100644 --- a/sys/dev/ed/if_ed_pccard.c +++ b/sys/dev/ed/if_ed_pccard.c @@ -541,7 +541,7 @@ ed_pccard_attach(device_t dev) sc->chip_type == ED_CHIP_TYPE_DL10022) { /* Probe for an MII bus, but ignore errors. */ ed_pccard_dl100xx_mii_reset(sc); - mii_phy_probe(dev, &sc->miibus, ed_ifmedia_upd, + (void)mii_phy_probe(dev, &sc->miibus, ed_ifmedia_upd, ed_ifmedia_sts); } else if (sc->chip_type == ED_CHIP_TYPE_AX88190) { ed_pccard_ax88x90_mii_reset(sc); |