diff options
author | David Müller (ELSOFT AG) <d.mueller@elsoft.ch> | 2011-12-12 01:36:53 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-12-12 14:23:22 +0100 |
commit | 99f2c76821e4ba84be1f5cc0a9d06582a2d56df6 (patch) | |
tree | 21221dd68fa54e507daa0a18bd60f221504ea0ae /board | |
parent | d798a9b5d50527713adc6309206a8d9f287593fb (diff) | |
download | u-boot-imx-99f2c76821e4ba84be1f5cc0a9d06582a2d56df6.zip u-boot-imx-99f2c76821e4ba84be1f5cc0a9d06582a2d56df6.tar.gz u-boot-imx-99f2c76821e4ba84be1f5cc0a9d06582a2d56df6.tar.bz2 |
board/mpl/common/isa.c: Fix GCC 4.6 build warnings
Fix:
../common/isa.c: In function 'handle_isa_int':
../common/isa.c:385:21: warning: variable 'isr2' set but not used
[-Wunused-but-set-variable]
../common/isa.c:385:16: warning: variable 'isr1' set but not used
[-Wunused-but-set-variable]
Signed-off-by: David Mueller <d.mueller@elsoft.ch>
Diffstat (limited to 'board')
-rw-r--r-- | board/mpl/common/isa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/mpl/common/isa.c b/board/mpl/common/isa.c index 5d467b4..fc56153 100644 --- a/board/mpl/common/isa.c +++ b/board/mpl/common/isa.c @@ -382,12 +382,12 @@ void init_8259A(void) int handle_isa_int(void) { unsigned long irqack; - unsigned char isr1,isr2,irq; + unsigned char irq; /* first we acknokledge the int via the PCI bus */ irqack=in32(PCI_INT_ACK_ADDR); /* now we get the ISRs */ - isr2=in8(ISR_2); - isr1=in8(ISR_1); + in8(ISR_2); + in8(ISR_1); irq=(unsigned char)irqack; irq-=32; /* if((irq==7)&&((isr1&0x80)==0)) { |