Delete unnecessary code

Is this really necessary?