mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
drivers/net/inca-ip_sw.c: Fix GCC 4.6 build warning
Fix: inca-ip_sw.c: In function 'inca_switch_init': inca-ip_sw.c:210:6: warning: variable 'v' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
d3042862f6
commit
d82a27bc5c
1 changed files with 2 additions and 6 deletions
|
@ -291,9 +291,7 @@ static int inca_switch_init(struct eth_device *dev, bd_t * bis)
|
|||
/* Initialize RxDMA.
|
||||
*/
|
||||
DMA_READ_REG(INCA_IP_DMA_DMA_RXISR, v);
|
||||
#if 0
|
||||
printf("RX status = 0x%08X\n", v);
|
||||
#endif
|
||||
debug("RX status = 0x%08X\n", v);
|
||||
|
||||
/* Writing to the FRDA of CHANNEL.
|
||||
*/
|
||||
|
@ -306,9 +304,7 @@ static int inca_switch_init(struct eth_device *dev, bd_t * bis)
|
|||
/* Initialize TxDMA.
|
||||
*/
|
||||
DMA_READ_REG(INCA_IP_DMA_DMA_TXISR, v);
|
||||
#if 0
|
||||
printf("TX status = 0x%08X\n", v);
|
||||
#endif
|
||||
debug("TX status = 0x%08X\n", v);
|
||||
|
||||
/* Writing to the FRDA of CHANNEL.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue