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
This commit is contained in:
Jan-Benedict Glaw 2014-10-30 12:44:23 +00:00 committed by Jan-Benedict Glaw
parent cc9b1e1ca0
commit 6327f612fd
2 changed files with 5 additions and 20 deletions

View File

@ -1,3 +1,7 @@
2014-10-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* config/avr/driver-avr.c (avr_set_current_device): Remove.
2014-10-30 Martin Liska <mliska@suse.cz>
PR ipa/63574
@ -7,7 +11,7 @@
* ipa-icf-gimple.h: Missing comment added.
2014-10-30 Jeff Law <law@redhat.com>
* config/pa/pa-protos.h (pa_output_arg_descriptor): Strengthen
argument from rtx to rtx_insn *.
(compute_movmem_length, compute_clrmem_length): Likewise.

View File

@ -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];
}