task_work: minor cleanups
authorOleg Nesterov <oleg@redhat.com>
Wed, 11 Sep 2013 21:23:30 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:26 +0000 (15:58 -0700)
commit205e550a0fb469ae73f91a903f27f4f63e774037
tree94492d97283ec6ee0d2bbf8a3910fb44178905fb
parent202da400570d991bacda4a06e878cb901e96a783
task_work: minor cleanups

Trivial.  Remove the unnecessary "work = NULL" initialization and turn
read_barrier_depends() into smp_read_barrier_depends() in
task_work_cancel().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/task_work.c