diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2008-12-17 10:48:23 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-18 13:49:56 +0100 |
commit | 6d102bc68f3dd2ae0e305b09170b1751aa67baeb (patch) | |
tree | c52f4bf881946eff6824190fd4c57bd5949319c9 /drivers/regulator | |
parent | Merge branches 'tracing/ftrace' and 'tracing/hw-branch-tracing' into tracing/... (diff) | |
download | linux-6d102bc68f3dd2ae0e305b09170b1751aa67baeb.tar.xz linux-6d102bc68f3dd2ae0e305b09170b1751aa67baeb.zip |
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 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions