diff options
author | Robert Richter <robert.richter@amd.com> | 2008-12-24 09:42:58 -0500 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-01-07 11:06:00 -0500 |
commit | 8d15df84a42b140a8262a325b987a283ef9f5f63 (patch) | |
tree | fdddf392dee4a9674138753004fd00637f6f5bcc /drivers/oprofile | |
parent | dbe6e2835e32461e7d592077947081c32f3da1d5 (diff) |
oprofile: remove unused components in struct oprofile_cpu_buffer
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile')
-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 d92f0020502..b426ae8ad2e 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 cd28abc0696..65b763ad72d 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; |