irq_work: Drop cmpxchg() result
authorSergio Aguirre <saaguirre@ti.com>
Tue, 16 Nov 2010 18:02:47 +0000 (12:02 -0600)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Nov 2010 12:18:47 +0000 (13:18 +0100)
commit94e8ba728640dc01375a14e337f3b892bfacbeeb
treeb13b06de29ea71dfafd0505736704491e559440b
parent8882135bcd332f294df5455747ea43ba9e6f77ad
irq_work: Drop cmpxchg() result

The compiler warned us about:

 kernel/irq_work.c: In function 'irq_work_run':
 kernel/irq_work.c:148: warning: value computed is not used

Dropping the cmpxchg() result is indeed weird, but correct -
so annotate away the warning.

Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
Cc: Huang Ying <ying.huang@intel.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1289930567-17828-1-git-send-email-saaguirre@ti.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq_work.c