purge dead code
Noticed by: Coverity Prevent analysis tool
This commit is contained in:
parent
f6ef5ddaa4
commit
155fb57323
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user