diff options
author | imp <imp@FreeBSD.org> | 2008-11-23 23:04:28 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-11-23 23:04:28 +0000 |
commit | 146f5a10392f94c25c550ff7733f05a263bceedd (patch) | |
tree | 097a110ef3e34b21e1dcd34e0267150740d852aa /sys/dev | |
parent | e3dcd91abeec3377e2e4082153d2eaa1da7ef3de (diff) | |
download | FreeBSD-src-146f5a10392f94c25c550ff7733f05a263bceedd.zip FreeBSD-src-146f5a10392f94c25c550ff7733f05a263bceedd.tar.gz |
Eliminate an unused variable reported by coverity
Submitted by: Ganbold
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/fdc/fdc_pccard.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/fdc/fdc_pccard.c b/sys/dev/fdc/fdc_pccard.c index f960c3b..72a3568 100644 --- a/sys/dev/fdc/fdc_pccard.c +++ b/sys/dev/fdc/fdc_pccard.c @@ -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); } |