diff options
-rw-r--r-- | trace-input.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/trace-input.c b/trace-input.c index feddf83..ac729b4 100644 --- a/trace-input.c +++ b/trace-input.c | |||
@@ -604,8 +604,6 @@ static int get_page(struct tracecmd_input *handle, int cpu, | |||
604 | if (handle->cpu_data[cpu].page) | 604 | if (handle->cpu_data[cpu].page) |
605 | free_page(handle, cpu); | 605 | free_page(handle, cpu); |
606 | 606 | ||
607 | handle->cpu_data[cpu].offset = offset; | ||
608 | |||
609 | handle->cpu_data[cpu].page = mmap(NULL, handle->page_size, PROT_READ, MAP_PRIVATE, | 607 | handle->cpu_data[cpu].page = mmap(NULL, handle->page_size, PROT_READ, MAP_PRIVATE, |
610 | handle->fd, offset); | 608 | handle->fd, offset); |
611 | if (handle->cpu_data[cpu].page == MAP_FAILED) | 609 | if (handle->cpu_data[cpu].page == MAP_FAILED) |