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

[Xen-devel] [PATCH v2 2/2] tools/misc: Drop unused function from gtracestat



Fixes a build failure with Clang.

Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
CC: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CC: Wei Liu <wei.liu2@xxxxxxxxxx>

New in v2
---
 tools/misc/gtracestat.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tools/misc/gtracestat.c b/tools/misc/gtracestat.c
index 3c2bd2c..67cb003 100644
--- a/tools/misc/gtracestat.c
+++ b/tools/misc/gtracestat.c
@@ -89,10 +89,6 @@ static inline uint64_t min(uint64_t a, uint64_t b)
 {
     return a < b ? a : b;
 }
-static inline uint64_t max(uint64_t a, uint64_t b)
-{
-    return a > b ? a : b;
-}
 
 static int is_px = 0;
 
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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