Thread: remove no more needed and failing function remove_unused_warning.

svn path=/trunk/libs/thread/; revision=82809