Commit e85530dd authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Jens Axboe

io-wq: remove unused IO_WQ_WORK_HAS_MM

IO_WQ_WORK_HAS_MM is set but never used, remove it.
Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 02d27d89
...@@ -499,8 +499,6 @@ static void io_worker_handle_work(struct io_worker *worker) ...@@ -499,8 +499,6 @@ static void io_worker_handle_work(struct io_worker *worker)
*/ */
if (test_bit(IO_WQ_BIT_CANCEL, &wq->state)) if (test_bit(IO_WQ_BIT_CANCEL, &wq->state))
work->flags |= IO_WQ_WORK_CANCEL; work->flags |= IO_WQ_WORK_CANCEL;
if (worker->mm)
work->flags |= IO_WQ_WORK_HAS_MM;
if (wq->get_work) { if (wq->get_work) {
put_work = work; put_work = work;
......
...@@ -5,7 +5,6 @@ struct io_wq; ...@@ -5,7 +5,6 @@ struct io_wq;
enum { enum {
IO_WQ_WORK_CANCEL = 1, IO_WQ_WORK_CANCEL = 1,
IO_WQ_WORK_HAS_MM = 2,
IO_WQ_WORK_HASHED = 4, IO_WQ_WORK_HASHED = 4,
IO_WQ_WORK_UNBOUND = 32, IO_WQ_WORK_UNBOUND = 32,
IO_WQ_WORK_CB = 128, IO_WQ_WORK_CB = 128,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment