xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Xen-devel <xen-devel@lists.xen.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Wei Liu <wei.liu2@citrix.com>
Subject: [PATCH v2 2/2] tools/misc: Drop unused function from gtracestat
Date: Wed, 9 Mar 2016 19:03:16 +0000	[thread overview]
Message-ID: <1457550196-4287-2-git-send-email-andrew.cooper3@citrix.com> (raw)
In-Reply-To: <1457550196-4287-1-git-send-email-andrew.cooper3@citrix.com>

Fixes a build failure with Clang.

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

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@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2016-03-09 19:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-09 19:03 [PATCH v2 1/2] tools/foreign: Avoid using alignment directives when not appropriate Andrew Cooper
2016-03-09 19:03 ` Andrew Cooper [this message]
2016-03-09 19:56   ` [PATCH v2 2/2] tools/misc: Drop unused function from gtracestat Wei Liu
2016-03-09 19:56 ` [PATCH v2 1/2] tools/foreign: Avoid using alignment directives when not appropriate Wei Liu
2016-03-10  8:33   ` Jan Beulich
2016-03-10 10:52     ` Wei Liu
2016-03-10  8:31 ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457550196-4287-2-git-send-email-andrew.cooper3@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).