diff options
author | Jan-Benedict Glaw <jbglaw@lug-owl.de> | 2014-10-30 12:44:23 +0000 |
---|---|---|
committer | Jan-Benedict Glaw <jbglaw@gcc.gnu.org> | 2014-10-30 12:44:23 +0000 |
commit | 6327f612fd6631094742bdb4e4999a48bd376382 (patch) | |
tree | 3cd23c7b44933550fe98c576d1165bf97b105c81 /gcc/config/avr | |
parent | cc9b1e1ca0e9c28d8a8704abb9faa1ea3b76d676 (diff) | |
download | gcc-6327f612fd6631094742bdb4e4999a48bd376382.zip gcc-6327f612fd6631094742bdb4e4999a48bd376382.tar.gz gcc-6327f612fd6631094742bdb4e4999a48bd376382.tar.bz2 |
driver-avr.c (avr_set_current_device): Remove.
2014-10-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* config/avr/driver-avr.c (avr_set_current_device): Remove.
From-SVN: r216932
Diffstat (limited to 'gcc/config/avr')
-rw-r--r-- | gcc/config/avr/driver-avr.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/config/avr/driver-avr.c b/gcc/config/avr/driver-avr.c index 24a26d4..50de944 100644 --- a/gcc/config/avr/driver-avr.c +++ b/gcc/config/avr/driver-avr.c @@ -28,22 +28,3 @@ const avr_arch_t *avr_current_arch = NULL; /* Current device. */ const avr_mcu_t *avr_current_device = NULL; - -/* Initialize avr_current_arch and avr_current_device variables. */ - -static void -avr_set_current_device (const char *name) -{ - - if (NULL != avr_current_arch) - return; - - for (avr_current_device = avr_mcu_types; avr_current_device->name; - avr_current_device++) - { - if (strcmp (avr_current_device->name, name) == 0) - break; - } - - avr_current_arch = &avr_arch_types[avr_current_device->arch]; -} |