From: Ralf Baechle Date: Mon, 3 Aug 2009 11:57:52 +0000 (+0100) Subject: MIPS: VPE: Delete unused function get_tc_unused(). X-Git-Tag: v2.6.31-rc6~64^2~1 X-Git-Url: https://bbs.cooldavid.org/git/?a=commitdiff_plain;h=ce21f4e86f89d352efecd044958db1917033b49b;p=net-next-2.6.git MIPS: VPE: Delete unused function get_tc_unused(). Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c index e3687524fdb..9a1ab7e87fd 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) {