[libvirt] [PATCH] Remove the inexistent function in comments

Osier Yang jyang at redhat.com
Wed Jan 2 14:43:39 UTC 2013


virNodeDeviceLookupByKey is inexistent.

---
Pushed under trivial rule.
---
 include/libvirt/libvirt.h.in |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
index c6739d7..2de6835 100644
--- a/include/libvirt/libvirt.h.in
+++ b/include/libvirt/libvirt.h.in
@@ -3113,10 +3113,9 @@ typedef struct _virNodeDevice virNodeDevice;
  * virNodeDevicePtr:
  *
  * A virNodeDevicePtr is a pointer to a virNodeDevice structure.  Get
- * one via virNodeDeviceLookupByKey, virNodeDeviceLookupByName, or
- * virNodeDeviceCreate.  Be sure to Call virNodeDeviceFree when done
- * using a virNodeDevicePtr obtained from any of the above functions to
- * avoid leaking memory.
+ * one via, virNodeDeviceLookupByName, or virNodeDeviceCreate.  Be sure
+ * to Call virNodeDeviceFree when done using a virNodeDevicePtr obtained
+ * from any of the above functions to avoid leaking memory.
  */
 
 typedef virNodeDevice *virNodeDevicePtr;
-- 
1.7.7.6




More information about the libvir-list mailing list