projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
349c422
)
MIPS: VPE: Delete unused function get_tc_unused().
author
Ralf Baechle
<ralf@linux-mips.org>
Mon, 3 Aug 2009 11:57:52 +0000
(12:57 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 3 Aug 2009 16:52:50 +0000
(17:52 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/vpe.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/vpe.c
b/arch/mips/kernel/vpe.c
index e3687524fdb666537a5b90f01c12e1c6a1230633..9a1ab7e87fd4d00e1705f858654f841a4f198e6f 100644
(file)
--- 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)
{