forked from Imagelibrary/rtems
2008-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/network/sonic.c: Do not declare a variable just to hold an ignored return value.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* libchip/network/sonic.c: Do not declare a variable just to hold an
|
||||
ignored return value.
|
||||
|
||||
2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* libchip/i2c/spi-sd-card.c: Fixed integer conversion warnings.
|
||||
|
||||
@@ -1103,7 +1103,6 @@ SONIC_STATIC void sonic_initialize_hardware(struct sonic_softc *sc)
|
||||
void *rp = sc->sonic;
|
||||
int i;
|
||||
unsigned char *hwaddr;
|
||||
rtems_isr_entry old_handler;
|
||||
TransmitDescriptorPointer_t tdp;
|
||||
ReceiveDescriptorPointer_t ordp, rdp;
|
||||
ReceiveResourcePointer_t rwp;
|
||||
@@ -1406,7 +1405,9 @@ SONIC_STATIC void sonic_initialize_hardware(struct sonic_softc *sc)
|
||||
/* XXX
|
||||
(*sc->write_register)( rp, SONIC_REG_IMR, 0 );
|
||||
*/
|
||||
old_handler = set_vector(sonic_interrupt_handler, sc->vector, 1);
|
||||
|
||||
/* Ignore returned old handler */
|
||||
(void) set_vector(sonic_interrupt_handler, sc->vector, 1);
|
||||
|
||||
/*
|
||||
* Remainder of hardware initialization is
|
||||
|
||||
Reference in New Issue
Block a user