summaryrefslogtreecommitdiffstats
path: root/fs/io-wq.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-02-28 08:36:37 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-02 22:05:24 +0100
commite85530ddda4f08d4f9ed6506d4a1f42e086e3b21 (patch)
tree8f03704a03f401bf8a539734c4e9f11744f95d78 /fs/io-wq.c
parentio_uring: extract kmsg copy helper (diff)
downloadlinux-e85530ddda4f08d4f9ed6506d4a1f42e086e3b21.tar.xz
linux-e85530ddda4f08d4f9ed6506d4a1f42e086e3b21.zip
io-wq: remove unused IO_WQ_WORK_HAS_MM
IO_WQ_WORK_HAS_MM is set but never used, remove it. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.c')
-rw-r--r--fs/io-wq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/io-wq.c b/fs/io-wq.c
index 5cef075c0b37..39ed8751ea31 100644
--- a/fs/io-wq.c
+++ b/fs/io-wq.c
@@ -499,8 +499,6 @@ next:
*/
if (test_bit(IO_WQ_BIT_CANCEL, &wq->state))
work->flags |= IO_WQ_WORK_CANCEL;
- if (worker->mm)
- work->flags |= IO_WQ_WORK_HAS_MM;
if (wq->get_work) {
put_work = work;