diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-08-03 12:57:52 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-08-03 17:52:50 +0100 |
commit | ce21f4e86f89d352efecd044958db1917033b49b (patch) | |
tree | 104eef0dcb5c3d5926f9f39125d90f549755bf77 | |
parent | 349c4229ed305146a558008d393c622d715cd11d (diff) |
MIPS: VPE: Delete unused function get_tc_unused().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/kernel/vpe.c | 12 |
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) 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) { |