tools: drop unused variable
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 8 Dec 2018 10:33:37 +0000 (19:33 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 9 Dec 2018 18:07:08 +0000 (03:07 +0900)
tools/gdb-sd_dump_hashmaps.py

index ea15160..0701d13 100644 (file)
@@ -16,7 +16,6 @@ class sd_dump_hashmaps(gdb.Command):
                 d = gdb.parse_and_eval("hashmap_debug_list")
                 all_entry_sizes = gdb.parse_and_eval("all_entry_sizes")
                 all_direct_buckets = gdb.parse_and_eval("all_direct_buckets")
-                hashmap_base_t = gdb.lookup_type("HashmapBase")
                 uchar_t = gdb.lookup_type("unsigned char")
                 ulong_t = gdb.lookup_type("unsigned long")
                 debug_offset = gdb.parse_and_eval("(unsigned long)&((HashmapBase*)0)->debug")