diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-08-03 13:57:52 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-08-03 18:52:50 +0200 |
commit | ce21f4e86f89d352efecd044958db1917033b49b (patch) | |
tree | 104eef0dcb5c3d5926f9f39125d90f549755bf77 /arch/mips/kernel/vpe.c | |
parent | MIPS: VPE: Fix bogus indentation. (diff) | |
download | linux-ce21f4e86f89d352efecd044958db1917033b49b.tar.xz linux-ce21f4e86f89d352efecd044958db1917033b49b.zip |
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.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) { |