You can delete an activity that you no longer need from a process diagram. Deleting an activity deletes all the steps included in the activity and any subflows.