Eliminate an unused variable reported by coverity
Submitted by: Ganbold
This commit is contained in:
parent
27d68f904f
commit
eed55f0644
@ -85,10 +85,8 @@ fdc_pccard_alloc_resources(device_t dev, struct fdc_data *fdc)
|
||||
static int
|
||||
fdc_pccard_probe(device_t dev)
|
||||
{
|
||||
const struct pccard_product *pp;
|
||||
|
||||
if ((pp = pccard_product_lookup(dev, fdc_pccard_products,
|
||||
sizeof(fdc_pccard_products[0]), NULL)) != NULL) {
|
||||
if (pccard_product_lookup(dev, fdc_pccard_products,
|
||||
sizeof(fdc_pccard_products[0]), NULL) != NULL) {
|
||||
device_set_desc(dev, "PC Card Floppy");
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user