rt: Remove del_chan, take_chan, drop_chan. Unused

This commit is contained in:
Brian Anderson 2011-11-10 17:28:28 -08:00
parent e4f980810b
commit f5c4ce79a7

View File

@ -484,23 +484,6 @@ get_port_id(rust_port *port) {
return port->id;
}
extern "C" CDECL
void del_chan(rust_chan *chan) {
rust_task *task = rust_scheduler::get_task();
LOG(task, comm, "del_chan(0x%" PRIxPTR ")", (uintptr_t) chan);
I(task->sched, false);
}
extern "C" CDECL
void take_chan(rust_chan *chan) {
chan->ref();
}
extern "C" CDECL
void drop_chan(rust_chan *chan) {
chan->deref();
}
extern "C" CDECL
void drop_port(rust_port *port) {
port->ref_count--;