From: Robert Richter Date: Wed, 24 Dec 2008 14:42:58 +0000 (+0100) Subject: oprofile: remove unused components in struct oprofile_cpu_buffer X-Git-Tag: v2.6.29-rc1~32^2~1^2~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8d15df84a42b140a8262a325b987a283ef9f5f63;p=linux-2.6-omap-h63xx.git oprofile: remove unused components in struct oprofile_cpu_buffer Signed-off-by: Robert Richter --- 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) b->last_is_kernel = -1; b->tracing = 0; b->buffer_size = buffer_size; - b->tail_pos = 0; - b->head_pos = 0; b->sample_received = 0; b->sample_lost_overflow = 0; 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 { }; struct oprofile_cpu_buffer { - volatile unsigned long head_pos; - volatile unsigned long tail_pos; unsigned long buffer_size; struct task_struct *last_task; int last_is_kernel;