X-Git-Url: http://git.agner.ch/gitweb/?a=blobdiff_plain;f=kernel%2Firq_work.c;h=90f881904bb1202ba1566f5db2e28eaf128551b9;hb=e82bb314eab2e25a7657f34450665160a5a6cc2b;hp=f16763ff8481b727bdf0263c241ddf2e1d6ba09a;hpb=51399a391940e676877c7a791138081f13a0bab7;p=linux.git diff --git a/kernel/irq_work.c b/kernel/irq_work.c index f16763ff8481..90f881904bb1 100644 --- a/kernel/irq_work.c +++ b/kernel/irq_work.c @@ -145,7 +145,9 @@ void irq_work_run(void) * Clear the BUSY bit and return to the free state if * no-one else claimed it meanwhile. */ - cmpxchg(&entry->next, next_flags(NULL, IRQ_WORK_BUSY), NULL); + (void)cmpxchg(&entry->next, + next_flags(NULL, IRQ_WORK_BUSY), + NULL); } } EXPORT_SYMBOL_GPL(irq_work_run);