Subject: [merged] staging-rtl8192u-remove-commented-out-__list_for_each-usage.patch removed from -mm tree To: davej@xxxxxxxxxx,Jennifer.Naumann@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,gregkh@xxxxxxxxxxxxxxxxxxx,snsehahn@xxxxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 25 Jun 2013 12:23:06 -0700 The patch titled Subject: staging/rtl8192u: remove commented out __list_for_each usage has been removed from the -mm tree. Its filename was staging-rtl8192u-remove-commented-out-__list_for_each-usage.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ 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 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