diff options
author | sam <sam@FreeBSD.org> | 2005-03-26 23:51:39 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-03-26 23:51:39 +0000 |
commit | 0bf78b5eff186d5d8c58403d8b9b1227ae6f1463 (patch) | |
tree | f5e61c90c6fdfd6248ff1d68727c7571b6fb759d | |
parent | 8967d82340e60a1d5dce64f763dab5d9b45b4a92 (diff) | |
download | FreeBSD-src-0bf78b5eff186d5d8c58403d8b9b1227ae6f1463.zip FreeBSD-src-0bf78b5eff186d5d8c58403d8b9b1227ae6f1463.tar.gz |
purge dead code
Noticed by: Coverity Prevent analysis tool
-rw-r--r-- | sys/dev/wi/if_wi_pccard.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/wi/if_wi_pccard.c b/sys/dev/wi/if_wi_pccard.c index bb776ff..a8ec8e1 100644 --- a/sys/dev/wi/if_wi_pccard.c +++ b/sys/dev/wi/if_wi_pccard.c @@ -210,14 +210,11 @@ wi_pccard_probe(dev) static int wi_pccard_attach(device_t dev) { - struct wi_softc *sc; int error; uint32_t vendor; uint32_t product; int retval; - sc = device_get_softc(dev); - error = wi_alloc(dev, 0); if (error) { device_printf(dev, "wi_alloc() failed! (%d)\n", error); |