diff options
| author | Warner Losh <imp@FreeBSD.org> | 2008-11-23 23:04:28 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2008-11-23 23:04:28 +0000 |
| commit | eed55f0644927373c97d5ba096214352a01c45f6 (patch) | |
| tree | 097a110ef3e34b21e1dcd34e0267150740d852aa /sys/dev/fdc | |
| parent | 27d68f904f2f152dfef692f7fffca366981c8f57 (diff) | |
Notes
Diffstat (limited to 'sys/dev/fdc')
| -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 f960c3b5b141..72a356857bf3 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); } |
