purge dead code
Noticed by: Coverity Prevent analysis tool
This commit is contained in:
parent
8967d82340
commit
0bf78b5eff
@ -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…
x
Reference in New Issue
Block a user