mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
MIPS: VPE: Delete unused function get_tc_unused().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
349c4229ed
commit
ce21f4e86f
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user