[PATCH] cpuset: remove cpuset_unlock()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lai Jiangshan
Date: Tuesday, January 4, 2011 - 1:23 am

It is not used.
It is not declared.
There is no corresponding cpuset_lock().

signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
---
diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index 4349935..6ef90dd 100644
--- a/kernel/cpuset.c
+++ b/kernel/cpuset.c
@@ -2440,17 +2440,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
  *
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] cpuset: remove cpuset_unlock(), Lai Jiangshan, (Tue Jan 4, 1:23 am)
Re: [PATCH] cpuset: remove cpuset_unlock(), Paul Menage, (Tue Jan 4, 12:52 pm)