diff options
Diffstat (limited to 'tools/perf/util/session.c')
-rw-r--r-- | tools/perf/util/session.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 32765cdca058..9da5e723495c 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c | |||
@@ -52,11 +52,6 @@ out_close: | |||
52 | return -1; | 52 | return -1; |
53 | } | 53 | } |
54 | 54 | ||
55 | static inline int perf_session__create_kernel_maps(struct perf_session *self) | ||
56 | { | ||
57 | return map_groups__create_kernel_maps(&self->kmaps, self->vmlinux_maps); | ||
58 | } | ||
59 | |||
60 | struct perf_session *perf_session__new(const char *filename, int mode, bool force) | 55 | struct perf_session *perf_session__new(const char *filename, int mode, bool force) |
61 | { | 56 | { |
62 | size_t len = filename ? strlen(filename) + 1 : 0; | 57 | size_t len = filename ? strlen(filename) + 1 : 0; |