aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kref.c
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2008-12-17 04:48:23 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-18 07:49:56 -0500
commit6d102bc68f3dd2ae0e305b09170b1751aa67baeb (patch)
treec52f4bf881946eff6824190fd4c57bd5949319c9 /lib/kref.c
parent40874491f9e9a4cb08eaf663dbe018bf5671975a (diff)
tracing/ring-buffer: remove unused ring_buffer size
Impact: remove dead code struct ring_buffer.size is not set after ring_buffer is initialized or resized. it is always 0. we can use "buffer->pages * PAGE_SIZE" to get ring_buffer's size Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/kref.c')
0 files changed, 0 insertions, 0 deletions