diff options
author | Dave Jones <davej@redhat.com> | 2013-06-17 22:26:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-18 11:22:58 -0700 |
commit | cbe97c4593bfbbb5cacc0cd9252cb53644ab0c13 (patch) | |
tree | e01c86e087af450cf61734fb9af031b043ffa4b0 /drivers/staging/rtl8187se | |
parent | d935217df1b69c7695f442c758854c1ae17b1ae8 (diff) | |
download | linux-cbe97c4593bfbbb5cacc0cd9252cb53644ab0c13.tar.gz linux-cbe97c4593bfbbb5cacc0cd9252cb53644ab0c13.tar.bz2 linux-cbe97c4593bfbbb5cacc0cd9252cb53644ab0c13.zip |
staging/rtl8187se: Convert __list_for_each use to list_for_each
Also remove commented out list manipulation
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8187se')
-rw-r--r-- | drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c index e30315997bbe..d5df0d691fcc 100644 --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c @@ -399,8 +399,8 @@ static int is_duplicate_packet(struct ieee80211_device *ieee, struct ieee_ibss_seq *entry = NULL; u8 *mac = header->addr2; int index = mac[5] % IEEE_IBSS_MAC_HASH_SIZE; - //for (pos = (head)->next; pos != (head); pos = pos->next) - __list_for_each(p, &ieee->ibss_mac_hash[index]) { + + list_for_each(p, &ieee->ibss_mac_hash[index]) { entry = list_entry(p, struct ieee_ibss_seq, list); if (!memcmp(entry->mac, mac, ETH_ALEN)) break; |