Skip to content

Commit

Permalink
Merge pull request mirage#255 from yomimono/remove-id
Browse files Browse the repository at this point in the history
remove unused id types
  • Loading branch information
yomimono authored Oct 4, 2016
2 parents d080d3a + dc50490 commit 0395cf3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion lib/arpv4/arpv4.ml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ module Make (Ethif : V1_LWT.ETHIF) (Clock : V1.MCLOCK) (Time : V1_LWT.TIME) = st
type macaddr = Macaddr.t
type ethif = Ethif.t
type repr = string
type id = t
type error

let arp_timeout = Duration.of_sec 60 (* age entries out of cache after this many seconds *)
Expand Down
2 changes: 0 additions & 2 deletions lib/icmp/icmpv4.ml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ module Make(IP : V1_LWT.IPV4) = struct

type error = [ `Routing | `Unknown ]

type id = t

let connect ip =
let t = { ip; echo_reply = true } in
Lwt.return t
Expand Down
2 changes: 0 additions & 2 deletions unix/icmpv4_socket.ml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ type 'a io = 'a Lwt.t

type t = unit

type id = t

type error = string

let pp_error fmt err = Format.fprintf fmt "%s" err
Expand Down

0 comments on commit 0395cf3

Please sign in to comment.