ipc/mqueue: remove redundant wq task assignment
authorDavidlohr Bueso <dave@stgolabs.net>
Tue, 14 May 2019 22:46:23 +0000 (15:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 May 2019 02:52:52 +0000 (19:52 -0700)
commit0ecb58210bd9de14df62a614be07428ef10f9469
tree1c14872d716a67804a70b6a50e933ef7d935df6c
parentd6a2946a88f524a47cc9b79279667137899db807
ipc/mqueue: remove redundant wq task assignment

We already store the current task fo the new waiter before calling
wq_sleep() in both send and recv paths.  Trivially remove the redundant
assignment.

Link: http://lkml.kernel.org/r/20190321190216.1719-1-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/mqueue.c