aio: remove INIT_KIOCTX
Unused after 20dcae3243
aka
"[PATCH] aio: remove kioctx from mm_struct".
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
eb2e5f452a
commit
17a5138d20
@@ -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, \
|
||||||
|
Reference in New Issue
Block a user