projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c6763c
)
perf tools: Convert needless static variable to local
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 27 Mar 2013 14:00:07 +0000
(11:00 -0300)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Mon, 1 Apr 2013 15:22:48 +0000
(12:22 -0300)
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link:
http://lkml.kernel.org/n/tip-k85ajz97xbrd8fkt2a8pp7q1@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/perf.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/perf.c
b/tools/perf/perf.c
index 31c9380cfa64dfdea747140d52bebdad6455966b..85e1aed95204c21de59b2b80721735670839b814 100644
(file)
--- a/
tools/perf/perf.c
+++ b/
tools/perf/perf.c
@@
-518,9
+518,8
@@
int main(int argc, const char **argv)
while (1) {
static int done_help;
-
static int was_alias
;
+
int was_alias = run_argv(&argc, &argv)
;
- was_alias = run_argv(&argc, &argv);
if (errno != ENOENT)
break;