thread: delete needless conditional expressions

Because: At upper block, there is the expression that has the same
meaning.