Commit 17a5138d authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

aio: remove INIT_KIOCTX

Unused after 20dcae32 aka
"[PATCH] aio: remove kioctx from mm_struct".
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent eb2e5f45
...@@ -15,19 +15,6 @@ ...@@ -15,19 +15,6 @@
extern struct files_struct init_files; extern struct files_struct init_files;
extern struct fs_struct init_fs; extern struct fs_struct init_fs;
#define INIT_KIOCTX(name, which_mm) \
{ \
.users = ATOMIC_INIT(1), \
.dead = 0, \
.mm = &which_mm, \
.user_id = 0, \
.next = NULL, \
.wait = __WAIT_QUEUE_HEAD_INITIALIZER(name.wait), \
.ctx_lock = __SPIN_LOCK_UNLOCKED(name.ctx_lock), \
.reqs_active = 0U, \
.max_reqs = ~0U, \
}
#define INIT_MM(name) \ #define INIT_MM(name) \
{ \ { \
.mm_rb = RB_ROOT, \ .mm_rb = RB_ROOT, \
......
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