Deleting motion layers from pre-made animations?

I’m using a pre-made animation of a female character walking forward but her head is turning from side to side and I don’t want the head to move at all. I’ve seen ways on how to add or edit motions per layer, but what if I simply want to delete it so the animations of her head disappear?