[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxc: Remove obsolete xc_find_device_number() declaration.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1275644792 -3600
# Node ID d4a91417a0231ff4a434d1a5b46749acda1dfe13
# Parent  936f4c08eaefc9d5bd07bb4d196e9ccb89b2d6aa
libxc: Remove obsolete xc_find_device_number() declaration.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/libxc/xc_minios.c |    6 ------
 tools/libxc/xenctrl.h   |   10 ----------
 2 files changed, 16 deletions(-)

diff -r 936f4c08eaef -r d4a91417a023 tools/libxc/xc_minios.c
--- a/tools/libxc/xc_minios.c   Fri Jun 04 10:25:45 2010 +0100
+++ b/tools/libxc/xc_minios.c   Fri Jun 04 10:46:32 2010 +0100
@@ -150,12 +150,6 @@ int do_xen_hypercall(xc_interface *xch, 
         return -1;
     }
     return call.result;
-}
-
-int xc_find_device_number(const char *name)
-{
-    printf("xc_find_device_number(%s)\n", name);
-    do_exit();
 }
 
 int xc_evtchn_open(void)
diff -r 936f4c08eaef -r d4a91417a023 tools/libxc/xenctrl.h
--- a/tools/libxc/xenctrl.h     Fri Jun 04 10:25:45 2010 +0100
+++ b/tools/libxc/xenctrl.h     Fri Jun 04 10:46:32 2010 +0100
@@ -133,16 +133,6 @@ enum xc_open_flags {
  * @return 0 on success, -1 otherwise.
  */
 int xc_interface_close(xc_interface *xch);
-
-/*
- * KERNEL INTERFACES
- */
-
-/*
- * Resolve a kernel device name (e.g., "evtchn", "blktap0") into a kernel
- * device number. Returns -1 on error (and sets errno).
- */
-int xc_find_device_number(const char *name);
 
 /*
  * DOMAIN DEBUGGING FUNCTIONS

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.