Remove useless thread-checking.