Removes unnecessary variable