about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-18 15:59:00 -0700
committerBrian Anderson <banderson@mozilla.com>2012-03-18 17:03:35 -0700
commitb247de64583e2ab527088813ba9192824554e801 (patch)
treeae9a3787632c877c6b9450cbf4431e26b5f081e4 /src/rt/rust_task.cpp
parente4af1ca0657d2b3b4fc2e7829cd8f822d983de1b (diff)
downloadrust-b247de64583e2ab527088813ba9192824554e801.tar.gz
rust-b247de64583e2ab527088813ba9192824554e801.zip
rt: Remove lock_held_by_current_thread
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp
index 039989cbf31..a8a03362018 100644
--- a/src/rt/rust_task.cpp
+++ b/src/rt/rust_task.cpp
@@ -242,7 +242,6 @@ rust_task::must_fail_from_being_killed() {
 
 bool
 rust_task::must_fail_from_being_killed_unlocked() {
-    I(thread, kill_lock.lock_held_by_current_thread());
     return killed && !reentered_rust_stack;
 }