Remove unneeded if statement.