projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c507999
)
perf symbols: Remove needless static binary_type array
author
Arnaldo Carvalho de Melo
<
[email protected]
>
Mon, 16 Dec 2013 19:57:43 +0000
(16:57 -0300)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Mon, 16 Dec 2013 19:57:43 +0000
(16:57 -0300)
There are no references to that array anywhere, it is only used to try
a series of "binary" types in turn, always setting dso->data_type till
one can be used.
Cc: Adrian Hunter <
[email protected]
>
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/util/dso.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/dso.c
b/tools/perf/util/dso.c
index 436922f1f9d943c5c4a78f410a570ad129c52b0f..e7f4449088e45dfc36b69ead1600e3c08896d64b 100644
(file)
--- a/
tools/perf/util/dso.c
+++ b/
tools/perf/util/dso.c
@@
-161,7
+161,7
@@
static int open_dso(struct dso *dso, struct machine *machine)
int dso__data_fd(struct dso *dso, struct machine *machine)
{
-
static
enum dso_binary_type binary_type_data[] = {
+ enum dso_binary_type binary_type_data[] = {
DSO_BINARY_TYPE__BUILD_ID_CACHE,
DSO_BINARY_TYPE__SYSTEM_PATH_DSO,
DSO_BINARY_TYPE__NOT_FOUND,