Remove the unnecessary code