Skip to contentSkip to conversation

+ staging-rtl8192u-remove-commented-out-__list_for_each-usage.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jun 18, 2013 Staging

lore
Share & tools
lore
#0 lore raw

Subject: + staging-rtl8192u-remove-commented-out-__list_for_each-usage.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
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 <[email protected]>
Subject: staging/rtl8192u: remove commented out __list_for_each usage

Also remove another commented out open-coded list manipulation while we're there.

Cc Greg Kroah-Hartman <[email protected]>
Cc Sebastian Hahn <[email protected]>
Cc Jennifer Naumann <[email protected]>

---

 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c renamed from drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c~staging-rtl8192u-remove-commented-out-__list_for_each-usage +1 -2
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
@@ -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 [email protected] 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