]> xenbits.xensource.com Git - xen.git/commitdiff
tools/libxs: Drop XSTEST
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 28 Jun 2024 14:56:39 +0000 (15:56 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 22 Jul 2024 09:50:03 +0000 (10:50 +0100)
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@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
tools/libs/store/xs.c

index 38a6ce3cf2ea3423d045eefe87378e3490f22347..ec77379ab9bd022b98e79aea064039f30586c9ae 100644 (file)
@@ -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)
 {