Skip to content

Commit

Permalink
[PATCH] janitor: tulip/de4x5: list_for_each
Browse files Browse the repository at this point in the history
s/for/list_for_each/

Signed-off-by: Maximilian Attems <[email protected]>
Signed-off-by: Domen Puncer <[email protected]>
Cc: Jeff Garzik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Domen Puncer authored and Linus Torvalds committed Sep 10, 2005
1 parent 46308c0 commit 0c5719c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/tulip/de4x5.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 0c5719c

Please sign in to comment.