xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: David Scott <dave.scott@eu.citrix.com>
To: xen-devel@lists.xen.org
Cc: jonathan.ludlam@eu.citrix.com, David Scott <dave.scott@eu.citrix.com>
Subject: [PATCH 4/4] ocaml: eventchn: remove the unused exception 'Eventchn.Error'
Date: Wed, 20 Mar 2013 20:24:45 +0000	[thread overview]
Message-ID: <1363811085-6700-5-git-send-email-dave.scott@eu.citrix.com> (raw)
In-Reply-To: <1363811085-6700-1-git-send-email-dave.scott@eu.citrix.com>

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
---
 tools/ocaml/libs/eventchn/xeneventchn.ml  | 4 ----
 tools/ocaml/libs/eventchn/xeneventchn.mli | 2 --
 2 files changed, 6 deletions(-)

diff --git a/tools/ocaml/libs/eventchn/xeneventchn.ml b/tools/ocaml/libs/eventchn/xeneventchn.ml
index acebe10..89edb92 100644
--- a/tools/ocaml/libs/eventchn/xeneventchn.ml
+++ b/tools/ocaml/libs/eventchn/xeneventchn.ml
@@ -14,8 +14,6 @@
  * GNU Lesser General Public License for more details.
  *)
 
-exception Error of string
-
 type handle
 
 external init: unit -> handle = "stub_eventchn_init"
@@ -32,5 +30,3 @@ external unmask: handle -> int -> unit = "stub_eventchn_unmask"
 
 let to_int x = x
 let of_int x = x
-
-let _ = Callback.register_exception "eventchn.error" (Error "register_callback")
diff --git a/tools/ocaml/libs/eventchn/xeneventchn.mli b/tools/ocaml/libs/eventchn/xeneventchn.mli
index a35743b..e4e02a4 100644
--- a/tools/ocaml/libs/eventchn/xeneventchn.mli
+++ b/tools/ocaml/libs/eventchn/xeneventchn.mli
@@ -16,8 +16,6 @@
 
 (** Event channel bindings: see tools/libxc/xenctrl.h *)
 
-exception Error of string
-
 type handle
 (** An initialised event channel interface. *)
 
-- 
1.8.1.2

  parent reply	other threads:[~2013-03-20 20:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-20 20:24 ocaml: eventchn: tidy up the module David Scott
2013-03-20 20:24 ` [PATCH 1/4] ocaml: eventchn: add a 'type t' to represent an event channel David Scott
2013-03-20 20:24 ` [PATCH 2/4] ocaml: eventchn: in the interface, we don't have to give implementation details David Scott
2013-03-20 20:24 ` [PATCH 3/4] ocaml: eventchn: add ocamldoc strings to the interface David Scott
2013-03-20 20:24 ` David Scott [this message]
2013-04-11 11:16 ` ocaml: eventchn: tidy up the module Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1363811085-6700-5-git-send-email-dave.scott@eu.citrix.com \
    --to=dave.scott@eu.citrix.com \
    --cc=jonathan.ludlam@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).