[pushed] Remove DEF_VEC_I(offset_type)

Message ID 1522093636-6425-1-git-send-email-simon.marchi@ericsson.com
State New
Headers show
Series
  • [pushed] Remove DEF_VEC_I(offset_type)
Related show

Commit Message

Simon Marchi March 26, 2018, 7:47 p.m.
It is unused.

gdb/ChangeLog:

	* dwarf2read.c (DEF_VEC_I(offset_type)): Remove.
---
 gdb/ChangeLog    | 4 ++++
 gdb/dwarf2read.c | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

-- 
2.7.4

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7952dee..47e6cff 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@ 
 2018-03-26  Simon Marchi  <simon.marchi@ericsson.com>
 
+	* dwarf2read.c (DEF_VEC_I(offset_type)): Remove.
+
+2018-03-26  Simon Marchi  <simon.marchi@ericsson.com>
+
 	* filename-seen-cache.h: Add include guard.
 
 2018-03-26  Keith Seitz  <keiths@redhat.com>
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 93ecf40..211364c 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -162,8 +162,6 @@  DEF_VEC_O (dwarf2_section_info_def);
    architecture-independent.  */
 typedef uint32_t offset_type;
 
-DEF_VEC_I (offset_type);
-
 /* Ensure only legit values are used.  */
 #define DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE(cu_index, value) \
   do { \