diff mbox

[OB] Remove unused field field_info.fnfields

Message ID 1504915531-15541-1-git-send-email-keiths@redhat.com
State New
Headers show

Commit Message

Keith Seitz Sept. 9, 2017, 12:05 a.m. UTC
Since at least 7.3 the "fnfields" field in struct field_info has been
unused.  This patch simply removes it.

gdb/ChangeLog:

	* dwarf2read.c (struct field_info) <fnfields>: Remove unused
	field.
---
 gdb/ChangeLog    | 5 +++++
 gdb/dwarf2read.c | 4 ----
 2 files changed, 5 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 941091b..96369d5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@ 
+2017-09-08  Keith Seitz  <keiths@redhat.com>
+
+	* dwarf2read.c (struct field_info) <fnfields>: Remove unused
+	field.
+
 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
 
 	* f-valprint.c (f_val_print): Remove check for one byte
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index b3c5fab..201a857 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -1485,10 +1485,6 @@  struct field_info
     /* Set if the accesibility of one of the fields is not public.  */
     int non_public_fields;
 
-    /* Member function fields array, entries are allocated in the order they
-       are encountered in the object file.  */
-    struct nextfnfield *fnfields;
-
     /* Member function fieldlist array, contains name of possibly overloaded
        member function, number of overloaded member functions and a pointer
        to the head of the member function field chain.  */