Skip to content

Commit fa3488f

Browse files
authored
Clean up xapi_xenops and more (#6543)
Best reviewed by commit, and also best viewed locally with a git client that distinguishes between moved and new lines, with a config like: ``` [diff] colormoved = "default" colormovedws = "allow-indentation-change" ``` No functional changes intended. ---- This is split out from a larger series, but I figured these cleanups are easier to review on their own and it would be better to get them in early to avoid annoying rebases of a thousand lines of code ....
2 parents 97e82c9 + fa28105 commit fa3488f

File tree

2 files changed

+542
-579
lines changed

2 files changed

+542
-579
lines changed

ocaml/xapi-idl/xen/xenops_interface.ml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -444,16 +444,6 @@ module Dynamic = struct
444444

445445
type barrier = int * id list [@@deriving rpcty]
446446

447-
type t =
448-
| Vm_t of Vm.id * (Vm.t * Vm.state) option
449-
| Vbd_t of Vbd.id * (Vbd.t * Vbd.state) option
450-
| Vif_t of Vif.id * (Vif.t * Vif.state) option
451-
| Pci_t of Pci.id * (Pci.t * Pci.state) option
452-
| Vgpu_t of Vgpu.id * (Vgpu.t * Vgpu.state) option
453-
| Vusb_t of Vusb.id * (Vusb.t * Vusb.state) option
454-
| Task_t of Task.id * Task.t option
455-
[@@deriving rpcty]
456-
457447
let rpc_of_id = Rpcmarshal.marshal id.Rpc.Types.ty
458448
end
459449

0 commit comments

Comments
 (0)