aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/vpe.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/vpe.c')
-rw-r--r--arch/mips/kernel/vpe.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c
index e3687524fdb6..9a1ab7e87fd4 100644
--- a/arch/mips/kernel/vpe.c
+++ b/arch/mips/kernel/vpe.c
@@ -185,18 +185,6 @@ static struct tc *get_tc(int index)
185 return NULL; 185 return NULL;
186} 186}
187 187
188struct tc *get_tc_unused(void)
189{
190 struct tc *t;
191
192 list_for_each_entry(t, &vpecontrol.tc_list, list) {
193 if (t->state == TC_STATE_UNUSED)
194 return t;
195 }
196
197 return NULL;
198}
199
200/* allocate a vpe and associate it with this minor (or index) */ 188/* allocate a vpe and associate it with this minor (or index) */
201static struct vpe *alloc_vpe(int minor) 189static struct vpe *alloc_vpe(int minor)
202{ 190{