From 04278a9d0d75c3eee34f0e0ad25914d01ceb47ae Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 29 Mar 2007 09:05:27 +0000 Subject: * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long initialization. * itbl-ops.h (enum e_processor): Initialise the e_nprocs field using ITBL_NUMBER_OF_PROCESSORS. * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS. --- gas/itbl-ops.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'gas/itbl-ops.c') diff --git a/gas/itbl-ops.c b/gas/itbl-ops.c index 7c5c749567..41fa0335e1 100644 --- a/gas/itbl-ops.c +++ b/gas/itbl-ops.c @@ -145,12 +145,7 @@ struct itbl_entry { static int itbl_num_opcodes = 0; /* Array of entries for each processor and entry type */ -static struct itbl_entry *entries[e_nprocs][e_ntypes] = { - {0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0} -}; +static struct itbl_entry *entries[e_nprocs][e_ntypes]; /* local prototypes */ static unsigned long build_opcode (struct itbl_entry *e); -- cgit v1.2.1