Skip to content

Commit

Permalink
MIPS: VPE: Delete unused function get_tc_unused().
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Aug 3, 2009
1 parent 349c422 commit ce21f4e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions arch/mips/kernel/vpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit ce21f4e

Please sign in to comment.