Remove redundant task.