summaryrefslogtreecommitdiff
path: root/kernel/cpuset.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-01-07 08:51:07 -0800
committerTejun Heo <tj@kernel.org>2013-01-07 08:51:07 -0800
commit01c889cf4f2e16c9a21376f8583f4a2872d7d1da (patch)
tree9e14b14da99fb1642c40e7928c25af9900fcc59a /kernel/cpuset.c
parent12a9d2fef1d35770d3cdc2cd1faabb83c45bc0fa (diff)
downloadlwn-01c889cf4f2e16c9a21376f8583f4a2872d7d1da.tar.gz
lwn-01c889cf4f2e16c9a21376f8583f4a2872d7d1da.zip
cpuset: remove unused cpuset_unlock()
Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r--kernel/cpuset.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index 7bb63eea6eb8..854b8bfbc15c 100644
--- a/kernel/cpuset.c
+++ b/kernel/cpuset.c
@@ -2412,17 +2412,6 @@ int __cpuset_node_allowed_hardwall(int node, gfp_t gfp_mask)
}
/**
- * 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
*