git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4087449
)
tracing/ring-buffer: remove unused ring_buffer size
author
Lai Jiangshan
<laijs@cn.fujitsu.com>
Wed, 17 Dec 2008 09:48:23 +0000
(17:48 +0800)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 18 Dec 2008 12:49:56 +0000
(13:49 +0100)
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>
No differences found