valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone
ff6046
From b7786387a6cdc447b874f36a8d9831b1acd2eb13 Mon Sep 17 00:00:00 2001
ff6046
From: Yu Watanabe <watanabe.yu+github@gmail.com>
ff6046
Date: Sat, 8 Dec 2018 19:33:37 +0900
ff6046
Subject: [PATCH] tools: drop unused variable
ff6046
ff6046
(cherry picked from commit 2f6c9b6f3fb0128cee7f74985c143b4850feff6d)
ff6046
ff6046
Resolves: #1705971
ff6046
---
ff6046
 tools/gdb-sd_dump_hashmaps.py | 1 -
ff6046
 1 file changed, 1 deletion(-)
ff6046
ff6046
diff --git a/tools/gdb-sd_dump_hashmaps.py b/tools/gdb-sd_dump_hashmaps.py
ff6046
index ea15160107..0701d139e2 100644
ff6046
--- a/tools/gdb-sd_dump_hashmaps.py
ff6046
+++ b/tools/gdb-sd_dump_hashmaps.py
ff6046
@@ -16,7 +16,6 @@ class sd_dump_hashmaps(gdb.Command):
ff6046
                 d = gdb.parse_and_eval("hashmap_debug_list")
ff6046
                 all_entry_sizes = gdb.parse_and_eval("all_entry_sizes")
ff6046
                 all_direct_buckets = gdb.parse_and_eval("all_direct_buckets")
ff6046
-                hashmap_base_t = gdb.lookup_type("HashmapBase")
ff6046
                 uchar_t = gdb.lookup_type("unsigned char")
ff6046
                 ulong_t = gdb.lookup_type("unsigned long")
ff6046
                 debug_offset = gdb.parse_and_eval("(unsigned long)&((HashmapBase*)0)->debug")