purge dead code

Noticed by:	Coverity Prevent analysis tool
This commit is contained in:
Sam Leffler 2005-03-26 23:51:39 +00:00
parent f6ef5ddaa4
commit 155fb57323

View File

@ -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);