mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] kill unushed __put_task_struct_cb
Somehow in the midst of dotting i's and crossing t's during the merge up to rc1 we wound up keeping __put_task_struct_cb when it should have been killed as it no longer has any users. Sorry I probably should have caught this while it was still in the -mm tree. Having the old code there gets confusing when reading through the code and trying to understand what is happening. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
1f60245479
commit
64541d1970
2 changed files with 0 additions and 7 deletions
|
@ -124,12 +124,6 @@ void __put_task_struct(struct task_struct *tsk)
|
|||
free_task(tsk);
|
||||
}
|
||||
|
||||
void __put_task_struct_cb(struct rcu_head *rhp)
|
||||
{
|
||||
struct task_struct *tsk = container_of(rhp, struct task_struct, rcu);
|
||||
__put_task_struct(tsk);
|
||||
}
|
||||
|
||||
void __init fork_init(unsigned long mempages)
|
||||
{
|
||||
#ifndef __HAVE_ARCH_TASK_STRUCT_ALLOCATOR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue