From 155fb57323c65d122d0455054ca7aaa3df4cd934 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Sat, 26 Mar 2005 23:51:39 +0000 Subject: [PATCH] purge dead code Noticed by: Coverity Prevent analysis tool --- sys/dev/wi/if_wi_pccard.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/wi/if_wi_pccard.c b/sys/dev/wi/if_wi_pccard.c index bb776ff573c..a8ec8e1d4b6 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);