diff options
-rw-r--r-- | drivers/oprofile/cpu_buffer.c | 2 | ||||
-rw-r--r-- | drivers/oprofile/cpu_buffer.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/oprofile/cpu_buffer.c b/drivers/oprofile/cpu_buffer.c index d92f0020502e..b426ae8ad2e2 100644 --- a/drivers/oprofile/cpu_buffer.c +++ b/drivers/oprofile/cpu_buffer.c | |||
@@ -97,8 +97,6 @@ int alloc_cpu_buffers(void) | |||
97 | b->last_is_kernel = -1; | 97 | b->last_is_kernel = -1; |
98 | b->tracing = 0; | 98 | b->tracing = 0; |
99 | b->buffer_size = buffer_size; | 99 | b->buffer_size = buffer_size; |
100 | b->tail_pos = 0; | ||
101 | b->head_pos = 0; | ||
102 | b->sample_received = 0; | 100 | b->sample_received = 0; |
103 | b->sample_lost_overflow = 0; | 101 | b->sample_lost_overflow = 0; |
104 | b->backtrace_aborted = 0; | 102 | b->backtrace_aborted = 0; |
diff --git a/drivers/oprofile/cpu_buffer.h b/drivers/oprofile/cpu_buffer.h index cd28abc06960..65b763ad72da 100644 --- a/drivers/oprofile/cpu_buffer.h +++ b/drivers/oprofile/cpu_buffer.h | |||
@@ -40,8 +40,6 @@ struct op_entry { | |||
40 | }; | 40 | }; |
41 | 41 | ||
42 | struct oprofile_cpu_buffer { | 42 | struct oprofile_cpu_buffer { |
43 | volatile unsigned long head_pos; | ||
44 | volatile unsigned long tail_pos; | ||
45 | unsigned long buffer_size; | 43 | unsigned long buffer_size; |
46 | struct task_struct *last_task; | 44 | struct task_struct *last_task; |
47 | int last_is_kernel; | 45 | int last_is_kernel; |