Delete unnecessary lines of code