Remove if statement that is not needed.