svn commit: r185235 - head/sys/dev/fdc
Ganbold
ganbold at micom.mng.net
Sun Nov 23 17:10:46 PST 2008
Warner Losh wrote:
> Author: imp
> Date: Sun Nov 23 23:04:28 2008
> New Revision: 185235
> URL: http://svn.freebsd.org/changeset/base/185235
>
> Log:
> Eliminate an unused variable reported by coverity
>
> Submitted by: Ganbold
>
> Modified:
> head/sys/dev/fdc/fdc_pccard.c
>
> Modified: head/sys/dev/fdc/fdc_pccard.c
> ==============================================================================
> --- head/sys/dev/fdc/fdc_pccard.c Sun Nov 23 21:05:22 2008 (r185234)
> +++ head/sys/dev/fdc/fdc_pccard.c Sun Nov 23 23:04:28 2008 (r185235)
> @@ -85,10 +85,8 @@ fdc_pccard_alloc_resources(device_t dev,
> 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);
> }
>
Thanks :)
Ganbold
> _______________________________________________
> svn-src-all at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-src-all
> To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
>
>
>
>
--
Cheer Up! Things are getting worse at a slower rate.
More information about the svn-src-all
mailing list