Skip to content

Commit

Permalink
aio: remove INIT_KIOCTX
Browse files Browse the repository at this point in the history
Unused after 20dcae3 aka
"[PATCH] aio: remove kioctx from mm_struct".

Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and torvalds committed Apr 13, 2009
1 parent eb2e5f4 commit 17a5138
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions include/linux/init_task.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,6 @@
extern struct files_struct init_files;
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) \
{ \
.mm_rb = RB_ROOT, \
Expand Down

0 comments on commit 17a5138

Please sign in to comment.