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

[xen staging] tools/libxs: Drop XSTEST



commit ebc92622cf3e304d1a0a239e2a139187a4940b5d
Author:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Fri Jun 28 15:56:39 2024 +0100
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Mon Jul 22 10:50:03 2024 +0100

    tools/libxs: Drop XSTEST
    
    This appears to been missed from the previous attempt in 2007.
    
    Fixes: fed194611785 ("xenstore: Remove broken and unmaintained test code")
    Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
    Reviewed-by: Juergen Gross <jgross@xxxxxxxx>
---
 tools/libs/store/xs.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tools/libs/store/xs.c b/tools/libs/store/xs.c
index 38a6ce3cf2..ec77379ab9 100644
--- a/tools/libs/store/xs.c
+++ b/tools/libs/store/xs.c
@@ -494,10 +494,6 @@ out_false:
        return false;
 }
 
-#ifdef XSTEST
-#define read_all read_all_choice
-#define xs_write_all write_all_choice
-#else
 /* Simple routine for writing to sockets, etc. */
 bool xs_write_all(int fd, const void *data, unsigned int len)
 {
@@ -515,7 +511,6 @@ bool xs_write_all(int fd, const void *data, unsigned int 
len)
 
        return true;
 }
-#endif
 
 static int get_error(const char *errorstring)
 {
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

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