rt: Remove drop_port. Unused

This commit is contained in:
Brian Anderson 2011-11-11 12:03:52 -08:00
parent 5d1e321ecb
commit 5e0e32faac
3 changed files with 0 additions and 7 deletions

View file

@ -44,7 +44,6 @@ fn chan_id_send<uniq T>(t: *sys::type_desc,
fn new_port(unit_sz: uint) -> *rust_port;
fn del_port(po: *rust_port);
fn drop_port(po: *rust_port);
fn get_port_id(po: *rust_port) -> port_id;
}
@ -77,7 +76,6 @@ fn chan_id_send<uniq T>(t: *sys::type_desc,
}
resource port_ptr(po: *rustrt::rust_port) {
rustrt::drop_port(po);
rustrt::del_port(po);
}

View file

@ -479,10 +479,6 @@ get_port_id(rust_port *port) {
return port->id;
}
extern "C" CDECL
void drop_port(rust_port *port) {
}
extern "C" CDECL void
chan_id_send(type_desc *t, rust_task_id target_task_id,
rust_port_id target_port_id, void *sptr) {

View file

@ -10,7 +10,6 @@ debug_ptrcast
debug_tag
debug_tydesc
do_gc
drop_port
drop_task
get_port_id
get_task_id