Skip to contentSkip to conversation

+ radeon-remove-redundant-__list_for_each-definition-from-mkregtablec.patch added to -mm tree

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

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: + radeon-remove-redundant-__list_for_each-definition-from-mkregtablec.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Tue, 18 Jun 2013 13:37:12 -0700

The patch titled
Subject: radeon: remove redundant __list_for_each definition from mkregtable.c
has been added to the -mm tree. Its filename is
radeon-remove-redundant-__list_for_each-definition-from-mkregtablec.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: radeon: remove redundant __list_for_each definition from mkregtable.c

---

 drivers/gpu/drm/radeon/mkregtable.c |   13 -------------
 1 file changed, 13 deletions(-)
drivers/gpu/drm/radeon/mkregtable.c renamed from drivers/gpu/drm/radeon/mkregtable.c~radeon-remove-redundant-__list_for_each-definition-from-mkregtablec +0 -11
diff -puN drivers/gpu/drm/radeon/mkregtable.c~radeon-remove-redundant-__list_for_each-definition-from-mkregtablec drivers/gpu/drm/radeon/mkregtable.c
@@ -373,19 +373,6 @@ static inline void list_splice_tail_init
 		pos = pos->next)
 
 /**
- * __list_for_each	-	iterate over a list
- * @pos:	the &struct list_head to use as a loop cursor.
- * @head:	the head for your list.
- *
- * This variant differs from list_for_each() in that it's the
- * simplest possible list iteration code, no prefetching is done.
- * Use this for code that knows the list to be very short (empty
- * or 1 entry) most of the time.
- */
-#define __list_for_each(pos, head) \
-	for (pos = (head)->next; pos != (head); pos = pos->next)