[PATCHv3 4/9] mtd: Remove unnecessary comparisons with MAX_MTD_DEVICES
David Woodhouse
dwmw2 at infradead.org
Thu Feb 25 06:42:13 EST 2010
On Fri, 2010-01-29 at 20:58 +0000, Ben Hutchings wrote:
>
> @@ -695,7 +695,7 @@ static int __init init_pmc551(void)
> /*
> * PCU-bus chipset probe.
> */
> - for (count = 0; count < MAX_MTD_DEVICES; count++) {
> + for (;;) {
>
> if ((PCI_Device = pci_get_device(PCI_VENDOR_ID_V3_SEMI,
> PCI_DEVICE_ID_V3_SEMI_V370PDC,
Hm, that looks very overdue for being converted to a proper PCI driver.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse at intel.com Intel Corporation
More information about the linux-mtd
mailing list