]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
radeon: remove redundant __list_for_each definition from mkregtable.c
authorDave Jones <davej@redhat.com>
Wed, 3 Jul 2013 22:05:17 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:07:43 +0000 (16:07 -0700)
Signed-off-by: Dave Jones <davej@redhat.com>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpu/drm/radeon/mkregtable.c

index 5a82b6b7584910fbd3e94ef5192dde965473dca5..af85299f212673afd9ce61997aa98b2f286fd2a7 100644 (file)
@@ -372,19 +372,6 @@ static inline void list_splice_tail_init(struct list_head *list,
        for (pos = (head)->next; prefetch(pos->next), pos != (head); \
                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)
-
 /**
  * list_for_each_prev  -       iterate over a list backwards
  * @pos:       the &struct list_head to use as a loop cursor.