[Rewrite] Removed unused conditional.