Commit ce21f4e8 authored by Ralf Baechle's avatar Ralf Baechle

MIPS: VPE: Delete unused function get_tc_unused().

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 349c4229
...@@ -185,18 +185,6 @@ static struct tc *get_tc(int index) ...@@ -185,18 +185,6 @@ static struct tc *get_tc(int index)
return NULL; 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) */ /* allocate a vpe and associate it with this minor (or index) */
static struct vpe *alloc_vpe(int minor) static struct vpe *alloc_vpe(int minor)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment