staging: wlan-ng: use list_for_each_entry*
authorGeliang Tang <geliangtang@163.com>
Tue, 15 Dec 2015 15:29:32 +0000 (23:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 03:06:36 +0000 (19:06 -0800)
commit57477bf0d9c2d311afe5a4e6b75040aabb3a426e
tree4d40c9c8ca3470e9f9b29a13f551f1da0cb38697
parent6c37e1f957be5f67b520e004e196b0e6a9ec2950
staging: wlan-ng: use list_for_each_entry*

Use list_for_each_entry*() instead of list_for_each*() to simplify
the code.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c
drivers/staging/wlan-ng/prism2usb.c