diff options
author | Nick Clifton <nickc@redhat.com> | 2007-03-29 09:05:27 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-03-29 09:05:27 +0000 |
commit | e55518010951f26d1b807c4c19d1d9f635358ab6 (patch) | |
tree | 048fd238097efef4cba8970c7a9a1c7d3a706322 /gas/itbl-ops.c | |
parent | aaf9e9fd5ba92fddf4cb82bfa1e5cdf4b6234a53 (diff) | |
download | binutils-e55518010951f26d1b807c4c19d1d9f635358ab6.zip binutils-e55518010951f26d1b807c4c19d1d9f635358ab6.tar.gz binutils-e55518010951f26d1b807c4c19d1d9f635358ab6.tar.bz2 |
* 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.
Diffstat (limited to 'gas/itbl-ops.c')
-rw-r--r-- | gas/itbl-ops.c | 7 |
1 files changed, 1 insertions, 6 deletions
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); |