perf lock: Don't use globals where not needed to
authorArnaldo Carvalho de Melo <[email protected]>
Mon, 1 Oct 2012 18:20:58 +0000 (15:20 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Tue, 2 Oct 2012 21:36:33 +0000 (18:36 -0300)
commitc75d98afa7bb059169587b838e0a25436b8d3e62
treeb1751eb14ad6afa74b0eccd65bc20854f71397f9
parent0433ffbe47d66c5c561b54340ee47adf8826bcc4
perf lock: Don't use globals where not needed to

Some variables were global but used in just one function, so move it to
where it belongs.

Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-lock.c