diff options
author | Otavio Salvador <otavio@debian.org> | 2005-12-03 13:42:25 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-08 22:51:37 -0500 |
commit | 7b653cafcbf187c6d86ee3551e4d73a610f18d27 (patch) | |
tree | bf1a897ca6aaa2a3a18ce89b8656eae7364ff317 | |
parent | 84c9fdd11e40f46028ff4669bfe5177ce9521266 (diff) |
[PATCH] ppc: removed unused variable i from code.
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/ppc/platforms/chrp_setup.c | 1 | ||||
-rw-r--r-- | arch/ppc/platforms/prep_setup.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/ppc/platforms/chrp_setup.c b/arch/ppc/platforms/chrp_setup.c index f1b70ab3c6fd..056ac2a7b5c1 100644 --- a/arch/ppc/platforms/chrp_setup.c +++ b/arch/ppc/platforms/chrp_setup.c | |||
@@ -404,7 +404,6 @@ static struct irqaction xmon_irqaction = { | |||
404 | void __init chrp_init_IRQ(void) | 404 | void __init chrp_init_IRQ(void) |
405 | { | 405 | { |
406 | struct device_node *np; | 406 | struct device_node *np; |
407 | int i; | ||
408 | unsigned long chrp_int_ack = 0; | 407 | unsigned long chrp_int_ack = 0; |
409 | unsigned char init_senses[NR_IRQS - NUM_8259_INTERRUPTS]; | 408 | unsigned char init_senses[NR_IRQS - NUM_8259_INTERRUPTS]; |
410 | #if defined(CONFIG_VT) && defined(CONFIG_INPUT_ADBHID) && defined(XMON) | 409 | #if defined(CONFIG_VT) && defined(CONFIG_INPUT_ADBHID) && defined(XMON) |
diff --git a/arch/ppc/platforms/prep_setup.c b/arch/ppc/platforms/prep_setup.c index a6a188910a1a..d06535802003 100644 --- a/arch/ppc/platforms/prep_setup.c +++ b/arch/ppc/platforms/prep_setup.c | |||
@@ -953,7 +953,6 @@ prep_calibrate_decr(void) | |||
953 | static void __init | 953 | static void __init |
954 | prep_init_IRQ(void) | 954 | prep_init_IRQ(void) |
955 | { | 955 | { |
956 | int i; | ||
957 | unsigned int pci_viddid, pci_did; | 956 | unsigned int pci_viddid, pci_did; |
958 | 957 | ||
959 | if (OpenPIC_Addr != NULL) { | 958 | if (OpenPIC_Addr != NULL) { |