Remove useless 'if'.