aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorLai Jiangshan <[email protected]>2009-07-15 16:27:30 +0800
committerFrederic Weisbecker <[email protected]>2009-07-16 18:46:47 -0400
commitda706d8bc833e7153622435560422e653bdb2e94 (patch)
tree0da824f6db67ce361976ef3b4d5a7212ea92619b /net/lapb/lapb_iface.c
parente202687927c132b1e1ff36b526b5e78ac33de840 (diff)
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 <[email protected]> Acked-by: Steven Rostedt <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions