From e55518010951f26d1b807c4c19d1d9f635358ab6 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 7c5c749..41fa033 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.1