diff options
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/util/include/linux/list.h | 2 | ||||
-rw-r--r-- | tools/perf/util/ui/browsers/annotate.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/include/linux/list.h b/tools/perf/util/include/linux/list.h index ed33609b9e33..1d928a0ce997 100644 --- a/tools/perf/util/include/linux/list.h +++ b/tools/perf/util/include/linux/list.h | |||
@@ -25,5 +25,5 @@ static inline void list_del_range(struct list_head *begin, | |||
25 | * @head: the head for your list. | 25 | * @head: the head for your list. |
26 | */ | 26 | */ |
27 | #define list_for_each_from(pos, head) \ | 27 | #define list_for_each_from(pos, head) \ |
28 | for (; prefetch(pos->next), pos != (head); pos = pos->next) | 28 | for (; pos != (head); pos = pos->next) |
29 | #endif | 29 | #endif |
diff --git a/tools/perf/util/ui/browsers/annotate.c b/tools/perf/util/ui/browsers/annotate.c index 15633d608133..0229723aceb3 100644 --- a/tools/perf/util/ui/browsers/annotate.c +++ b/tools/perf/util/ui/browsers/annotate.c | |||
@@ -5,7 +5,6 @@ | |||
5 | #include "../../hist.h" | 5 | #include "../../hist.h" |
6 | #include "../../sort.h" | 6 | #include "../../sort.h" |
7 | #include "../../symbol.h" | 7 | #include "../../symbol.h" |
8 | #include "../../annotate.h" | ||
9 | #include <pthread.h> | 8 | #include <pthread.h> |
10 | 9 | ||
11 | static void ui__error_window(const char *fmt, ...) | 10 | static void ui__error_window(const char *fmt, ...) |