diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2009-08-03 07:57:52 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-08-03 12:52:50 -0400 |
commit | ce21f4e86f89d352efecd044958db1917033b49b (patch) | |
tree | 104eef0dcb5c3d5926f9f39125d90f549755bf77 /arch | |
parent | 349c4229ed305146a558008d393c622d715cd11d (diff) |
MIPS: VPE: Delete unused function get_tc_unused().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-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) | |||
185 | return NULL; | 185 | return NULL; |
186 | } | 186 | } |
187 | 187 | ||
188 | struct tc *get_tc_unused(void) | ||
189 | { | ||
190 | struct tc *t; | ||
191 | |||
192 | list_for_each_entry(t, &vpecontrol.tc_list, list) { | ||
193 | if (t->state == TC_STATE_UNUSED) | ||
194 | return t; | ||
195 | } | ||
196 | |||
197 | return NULL; | ||
198 | } | ||
199 | |||
200 | /* allocate a vpe and associate it with this minor (or index) */ | 188 | /* allocate a vpe and associate it with this minor (or index) */ |
201 | static struct vpe *alloc_vpe(int minor) | 189 | static struct vpe *alloc_vpe(int minor) |
202 | { | 190 | { |