daandemeyer / rpms / systemd

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