Skip to content

Commit

Permalink
cpuset: remove unused cpuset_unlock()
Browse files Browse the repository at this point in the history
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
  • Loading branch information
Tejun Heo committed Jan 7, 2013
1 parent 12a9d2f commit 01c889c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions kernel/cpuset.c
Original file line number Diff line number Diff line change
Expand Up @@ -2411,17 +2411,6 @@ int __cpuset_node_allowed_hardwall(int node, gfp_t gfp_mask)
return 0;
}

/**
* cpuset_unlock - release lock on cpuset changes
*
* Undo the lock taken in a previous cpuset_lock() call.
*/

void cpuset_unlock(void)
{
mutex_unlock(&callback_mutex);
}

/**
* cpuset_mem_spread_node() - On which node to begin search for a file page
* cpuset_slab_spread_node() - On which node to begin search for a slab page
Expand Down

0 comments on commit 01c889c

Please sign in to comment.