diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-11-10 17:28:28 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-11-10 17:28:28 -0800 |
| commit | f5c4ce79a7d5081f8fef69b496908ba4bce640e4 (patch) | |
| tree | 21e4ef74c4c47bacafc86dcf10bd8b614409fdef /src/rt/rust_builtin.cpp | |
| parent | e4f980810b8787626b32fc116e491c0ff9e56ba0 (diff) | |
| download | rust-f5c4ce79a7d5081f8fef69b496908ba4bce640e4.tar.gz rust-f5c4ce79a7d5081f8fef69b496908ba4bce640e4.zip | |
rt: Remove del_chan, take_chan, drop_chan. Unused
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 89bd58effa9..cfe3edcd24c 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -485,23 +485,6 @@ get_port_id(rust_port *port) { } 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--; } |
