Delete unneeded code lines