[PATCH] use list_for_each_entry() for iteration in Prism 54 driver
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Mon, 9 Jul 2007 19:03:32 +0000 (12:03 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Jul 2007 18:25:40 +0000 (14:25 -0400)
commit426921bda10c33231e2b335e4ad08bc755c50740
treed19d07527125ce1b1ce17db050df9dafaa52dd04
parent777fa98194f91dae24fd12de47eec1cbb0375b29
[PATCH] use list_for_each_entry() for iteration in Prism 54 driver

Use list_for_each_entry() instead of manual iteration and substitute a
list_for_each_safe() loop with list_for_each_entry_safe()

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Acked-by: Luis R. Rodriguez <mcgrof@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/prism54/isl_ioctl.c