Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c5719c4 authored by Domen Puncer's avatar Domen Puncer Committed by Linus Torvalds
Browse files

[PATCH] janitor: tulip/de4x5: list_for_each



s/for/list_for_each/

Signed-off-by: default avatarMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 46308c0b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2144,9 +2144,9 @@ srom_search(struct net_device *dev, struct pci_dev *pdev)
    u_long iobase = 0;                     /* Clear upper 32 bits in Alphas */
    int i, j, cfrv;
    struct de4x5_private *lp = netdev_priv(dev);
    struct list_head *walk = &pdev->bus_list;
    struct list_head *walk;

    for (walk = walk->next; walk != &pdev->bus_list; walk = walk->next) {
    list_for_each(walk, &pdev->bus_list) {
	struct pci_dev *this_dev = pci_dev_b(walk);

	/* Skip the pci_bus list entry */