Date: Mon, 24 Nov 2008 09:10:43 +0800 From: Ganbold <ganbold@micom.mng.net> To: Warner Losh <imp@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r185235 - head/sys/dev/fdc Message-ID: <4929FF13.7070009@micom.mng.net> In-Reply-To: <200811232304.mANN4TMu066845@svn.freebsd.org> References: <200811232304.mANN4TMu066845@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" > > > > -- Cheer Up! Things are getting worse at a slower rate.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4929FF13.7070009>