Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01c889cf authored by Tejun Heo's avatar Tejun Heo
Browse files

cpuset: remove unused cpuset_unlock()



Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Acked-by: default avatarLi Zefan <lizefan@huawei.com>
parent 12a9d2fe
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -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