Subject: + staging-rtl8192u-remove-commented-out-__list_for_each-usage.patch added to -mm tree To: davej@xxxxxxxxxx,Jennifer.Naumann@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,gregkh@xxxxxxxxxxxxxxxxxxx,snsehahn@xxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 18 Jun 2013 13:37:14 -0700 The patch titled Subject: staging/rtl8192u: remove commented out __list_for_each usage has been added to the -mm tree. Its filename is staging-rtl8192u-remove-commented-out-__list_for_each-usage.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Dave Jones <davej@xxxxxxxxxx> Subject: staging/rtl8192u: remove commented out __list_for_each usage Also remove another commented out open-coded list manipulation while we're there. Signed-off-by: Dave Jones <davej@xxxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Cc: Sebastian Hahn <snsehahn@xxxxxxxxxxxxx> Cc: Jennifer Naumann <Jennifer.Naumann@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c~staging-rtl8192u-remove-commented-out-__list_for_each-usage drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c~staging-rtl8192u-remove-commented-out-__list_for_each-usage +++ a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c @@ -454,8 +454,7 @@ static int is_duplicate_packet(struct ie 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)) _ Patches currently in -mm which might be from davej@xxxxxxxxxx are linux-next.patch radeon-remove-redundant-__list_for_each-definition-from-mkregtablec.patch ipw2200-convert-__list_for_each-usage-to-list_for_each.patch staging-rtl8192u-remove-commented-out-__list_for_each-usage.patch staging-rtl8187se-convert-__list_for_each-use-to-list_for_each.patch sctp-convert-__list_for_each-use-to-list_for_each.patch sound-usb-misc-ua101c-convert-__list_for_each-usage-to-list_for_each.patch list-remove-__list_for_each.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html