diff --git a/linux-ramdump-parser-v2/parsers/vmalloc.py b/linux-ramdump-parser-v2/parsers/vmalloc.py index a56ceb4b22562c13101591e1b796bf61ebcc4258..54ff28e589b7a87ab14d12d002db18276ce93b0c 100644 --- a/linux-ramdump-parser-v2/parsers/vmalloc.py +++ b/linux-ramdump-parser-v2/parsers/vmalloc.py @@ -1,4 +1,4 @@ -# Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. +# Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 and @@ -96,10 +96,7 @@ class Vmalloc(RamParser): vmlist = self.ramdump.read_word('vmap_area_list') orig_vmlist = vmlist - list_next_offset, list_prev_offset = llist.get_list_offsets( - self.ramdump) - - list_walker = llist.ListWalker(self.ramdump, vmlist, next_offset, list_next_offset, list_prev_offset) + list_walker = llist.ListWalker(self.ramdump, vmlist, next_offset) self.vmalloc_out = vmalloc_out list_walker.walk(vmlist, self.list_func) print_out_str('---wrote vmalloc to vmalloc.txt')