summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/vpe.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-08-03 12:57:52 +0100
committerRalf Baechle <ralf@linux-mips.org>2009-08-03 17:52:50 +0100
commitce21f4e86f89d352efecd044958db1917033b49b (patch)
tree104eef0dcb5c3d5926f9f39125d90f549755bf77 /arch/mips/kernel/vpe.c
parent349c4229ed305146a558008d393c622d715cd11d (diff)
downloadop-kernel-dev-ce21f4e86f89d352efecd044958db1917033b49b.zip
op-kernel-dev-ce21f4e86f89d352efecd044958db1917033b49b.tar.gz
MIPS: VPE: Delete unused function get_tc_unused().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
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 e368752..9a1ab7e 100644
--- a/arch/mips/kernel/vpe.c
+++ b/arch/mips/kernel/vpe.c
@@ -185,18 +185,6 @@ static struct tc *get_tc(int index)
return NULL;
}
-struct tc *get_tc_unused(void)
-{
- struct tc *t;
-
- list_for_each_entry(t, &vpecontrol.tc_list, list) {
- if (t->state == TC_STATE_UNUSED)
- return t;
- }
-
- return NULL;
-}
-
/* allocate a vpe and associate it with this minor (or index) */
static struct vpe *alloc_vpe(int minor)
{
OpenPOWER on IntegriCloud