[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-3f86eb6b0771d785099c91354838d3f8d8126630@git.kernel.org>
Date: Mon, 14 Dec 2015 00:14:50 -0800
From: tip-bot for Namhyung Kim <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: namhyung@...nel.org, linux-kernel@...r.kernel.org,
jolsa@...hat.com, dsahern@...il.com, acme@...hat.com,
a.p.zijlstra@...llo.nl, tglx@...utronix.de, jpoimboe@...hat.com,
hpa@...or.com, mingo@...nel.org
Subject: [tip:perf/core] perf tools: Get rid of exit_browser()
from usage_with_options()
Commit-ID: 3f86eb6b0771d785099c91354838d3f8d8126630
Gitweb: http://git.kernel.org/tip/3f86eb6b0771d785099c91354838d3f8d8126630
Author: Namhyung Kim <namhyung@...nel.org>
AuthorDate: Thu, 10 Dec 2015 12:00:59 +0900
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Thu, 10 Dec 2015 15:47:52 -0300
perf tools: Get rid of exit_browser() from usage_with_options()
Since all of its users call before setup_browser(), there's no need to
call exit_browser() inside of the function.
Signed-off-by: Namhyung Kim <namhyung@...nel.org>
Reviewed-by: Josh Poimboeuf <jpoimboe@...hat.com>
Tested-by: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Jiri Olsa <jolsa@...hat.com>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Link: http://lkml.kernel.org/r/1449716459-23004-8-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/util/parse-options.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tools/perf/util/parse-options.c b/tools/perf/util/parse-options.c
index d09aff9..de3290b 100644
--- a/tools/perf/util/parse-options.c
+++ b/tools/perf/util/parse-options.c
@@ -766,7 +766,6 @@ int usage_with_options_internal(const char * const *usagestr,
void usage_with_options(const char * const *usagestr,
const struct option *opts)
{
- exit_browser(false);
usage_with_options_internal(usagestr, opts, 0, NULL);
exit(129);
}
@@ -776,8 +775,6 @@ void usage_with_options_msg(const char * const *usagestr,
{
va_list ap;
- exit_browser(false);
-
va_start(ap, fmt);
strbuf_addv(&error_buf, fmt, ap);
va_end(ap);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists