From: akpm@linux-foundation.org Subject: + staging-rtl8192u-remove-commented-out-__list_for_each-usage.patch added to -mm tree Date: Tue, 18 Jun 2013 13:37:14 -0700 Message-ID: <51c0c4fa./3E2+IbaP3/6oRBH%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:51598 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932898Ab3FRUhP (ORCPT ); Tue, 18 Jun 2013 16:37:15 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, snsehahn@cip.cs.fau.de, gregkh@linuxfoundation.org, Jennifer.Naumann@informatik.stud.uni-erlangen.de, davej@redhat.com Subject: + staging-rtl8192u-remove-commented-out-__list_for_each-usage.patch added to -mm tree To: davej@redhat.com,Jennifer.Naumann@informatik.stud.uni-erlangen.de,gregkh@linuxfoundation.org,snsehahn@cip.cs.fau.de From: akpm@linux-foundation.org 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 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 Cc: Greg Kroah-Hartman Cc: Sebastian Hahn Cc: Jennifer Naumann Signed-off-by: Andrew Morton --- 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@redhat.com 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