summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-03-26 23:51:39 +0000
committersam <sam@FreeBSD.org>2005-03-26 23:51:39 +0000
commit0bf78b5eff186d5d8c58403d8b9b1227ae6f1463 (patch)
treef5e61c90c6fdfd6248ff1d68727c7571b6fb759d /sys/dev/wi
parent8967d82340e60a1d5dce64f763dab5d9b45b4a92 (diff)
downloadFreeBSD-src-0bf78b5eff186d5d8c58403d8b9b1227ae6f1463.zip
FreeBSD-src-0bf78b5eff186d5d8c58403d8b9b1227ae6f1463.tar.gz
purge dead code
Noticed by: Coverity Prevent analysis tool
Diffstat (limited to 'sys/dev/wi')
-rw-r--r--sys/dev/wi/if_wi_pccard.c3
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);
OpenPOWER on IntegriCloud