diff options
Diffstat (limited to 'Documentation/perf_counter/perfstat.c')
-rw-r--r-- | Documentation/perf_counter/perfstat.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Documentation/perf_counter/perfstat.c b/Documentation/perf_counter/perfstat.c index 3364dcb9dd9d..fd594468e655 100644 --- a/Documentation/perf_counter/perfstat.c +++ b/Documentation/perf_counter/perfstat.c | |||
@@ -54,14 +54,8 @@ | |||
54 | 54 | ||
55 | #include "perfcounters.h" | 55 | #include "perfcounters.h" |
56 | 56 | ||
57 | static int nr_counters = 0; | ||
58 | static int nr_cpus = 0; | 57 | static int nr_cpus = 0; |
59 | 58 | ||
60 | static int event_id[MAX_COUNTERS] = | ||
61 | { -2, -5, -4, -3, 0, 1, 2, 3}; | ||
62 | |||
63 | static int event_raw[MAX_COUNTERS]; | ||
64 | |||
65 | static int system_wide = 0; | 59 | static int system_wide = 0; |
66 | 60 | ||
67 | static void display_help(void) | 61 | static void display_help(void) |
@@ -127,8 +121,6 @@ static void process_options(int argc, char *argv[]) | |||
127 | 121 | ||
128 | if (!nr_counters) | 122 | if (!nr_counters) |
129 | nr_counters = 8; | 123 | nr_counters = 8; |
130 | else | ||
131 | nr_counters++; | ||
132 | return; | 124 | return; |
133 | 125 | ||
134 | err: | 126 | err: |