public void remove(Register reg) {
		RegisterTree tree = getRegisterTree(reg);
		if (tree == null) {
			return;
		}
		if (tree.getParent() == null) {
			return;
		}
		tree.getParent().children.remove(tree);
	}
Removes the register from the children
@param reg the register to remove.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/RegisterTree.java