diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2009-07-15 16:27:30 +0800 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-07-16 18:46:47 -0400 |
commit | da706d8bc833e7153622435560422e653bdb2e94 (patch) | |
tree | 0da824f6db67ce361976ef3b4d5a7212ea92619b /drivers | |
parent | e202687927c132b1e1ff36b526b5e78ac33de840 (diff) | |
download | kernel-crypto-da706d8bc833e7153622435560422e653bdb2e94.tar.gz kernel-crypto-da706d8bc833e7153622435560422e653bdb2e94.tar.xz kernel-crypto-da706d8bc833e7153622435560422e653bdb2e94.zip |
ring_buffer: Fix warning while ignoring cmpxchg return value
kernel/trace/ring_buffer.c: In function 'rb_tail_page_update':
kernel/trace/ring_buffer.c:849: warning: value computed is not used
kernel/trace/ring_buffer.c:850: warning: value computed is not used
Add "(void)"s to fix this warning, because we don't need here to handle
the fail case of cmpxchg, it's fine if an interrupt already did the
job.
Changed from V1:
Add a comment(which is written by Steven) for it.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions