[PATCH 2/4] remove unused SYM_MEMBER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



SYM_MEMBER has never been set.

Remove since it's unused.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 ast-inspect.c | 1 -
 show-parse.c  | 1 -
 symbol.c      | 1 -
 symbol.h      | 1 -
 4 files changed, 4 deletions(-)

diff --git a/ast-inspect.c b/ast-inspect.c
index 24d4a4a65..d1b4f9ace 100644
--- a/ast-inspect.c
+++ b/ast-inspect.c
@@ -111,7 +111,6 @@ static const char *symbol_type_name(enum type type)
 		[SYM_ENUM] = "SYM_ENUM",
 		[SYM_TYPEDEF] = "SYM_TYPEDEF",
 		[SYM_TYPEOF] = "SYM_TYPEOF",
-		[SYM_MEMBER] = "SYM_MEMBER",
 		[SYM_BITFIELD] = "SYM_BITFIELD",
 		[SYM_LABEL] = "SYM_LABEL",
 		[SYM_RESTRICT] = "SYM_RESTRICT",
diff --git a/show-parse.c b/show-parse.c
index 371041675..232460743 100644
--- a/show-parse.c
+++ b/show-parse.c
@@ -60,7 +60,6 @@ static void do_debug_symbol(struct symbol *sym, int indent)
 		[SYM_ENUM] = "enum",
 		[SYM_TYPEDEF] = "tdef",
 		[SYM_TYPEOF] = "tpof",
-		[SYM_MEMBER] = "memb",
 		[SYM_BITFIELD] = "bitf",
 		[SYM_LABEL] = "labl",
 		[SYM_RESTRICT] = "rstr",
diff --git a/symbol.c b/symbol.c
index 72ea2e4e7..30f5d27df 100644
--- a/symbol.c
+++ b/symbol.c
@@ -535,7 +535,6 @@ const char* get_type_name(enum type type)
 	[SYM_ENUM] = "enum",
 	[SYM_TYPEDEF] = "typedef",
 	[SYM_TYPEOF] = "typeof",
-	[SYM_MEMBER] = "member",
 	[SYM_BITFIELD] = "bitfield",
 	[SYM_LABEL] = "label",
 	[SYM_RESTRICT] = "restrict",
diff --git a/symbol.h b/symbol.h
index a27392fa4..6ad026d3b 100644
--- a/symbol.h
+++ b/symbol.h
@@ -66,7 +66,6 @@ enum type {
 	SYM_ENUM,
 	SYM_TYPEDEF,
 	SYM_TYPEOF,
-	SYM_MEMBER,
 	SYM_BITFIELD,
 	SYM_LABEL,
 	SYM_RESTRICT,
-- 
2.23.0




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux