Eliminate an unused variable reported by coverity

Submitted by:	Ganbold
This commit is contained in:
Warner Losh 2008-11-23 23:04:28 +00:00
parent 27d68f904f
commit eed55f0644

View File

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