aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trace-read.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/trace-read.c b/trace-read.c
index 7fb4021..ec4272c 100644
--- a/trace-read.c
+++ b/trace-read.c
@@ -46,8 +46,6 @@ int show_events = 0;
46 46
47static int filter_cpu = -1; 47static int filter_cpu = -1;
48 48
49struct tracecmd_handle *trace_handle;
50
51static void show_data(struct tracecmd_handle *handle, int cpu) 49static void show_data(struct tracecmd_handle *handle, int cpu)
52{ 50{
53 struct record *record; 51 struct record *record;
@@ -201,9 +199,6 @@ void trace_report (int argc, char **argv)
201 if (!handle) 199 if (!handle)
202 die("error reading header"); 200 die("error reading header");
203 201
204 /* work around for libparsevent */
205 trace_handle = handle;
206
207 page_size = tracecmd_page_size(handle); 202 page_size = tracecmd_page_size(handle);
208 203
209 if (show_page_size) { 204 if (show_page_size) {