Minor cleanup

master
wdenk 20 years ago
parent 400558b561
commit 59acc296d9
  1. 6
      net/net.c
  2. 1
      rtc/rs5c372.c

@ -468,7 +468,7 @@ restart:
/*
* Main packet reception loop. Loop receiving packets until
* someone sets `NetQuit'.
* someone sets `NetState' to a state that terminates.
*/
for (;;) {
WATCHDOG_RESET();
@ -503,7 +503,9 @@ restart:
thand_f *x;
#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII)
#if defined(CFG_FAULT_ECHO_LINK_DOWN) && defined(CONFIG_STATUS_LED) && defined(STATUS_LED_RED)
# if defined(CFG_FAULT_ECHO_LINK_DOWN) &&
defined(CONFIG_STATUS_LED) &&
defined(STATUS_LED_RED)
/*
* Echo the inverted link state to the fault LED.
*/

@ -95,7 +95,6 @@ rs5c372_enable(void)
unsigned char buf[RS5C372_RAM_SIZE + 1];
int ret;
/* note that this returns reg. 15 in buf[1] */
ret = rs5c372_readram(&buf[1], RS5C372_RAM_SIZE);
if (ret != 0) {

Loading…
Cancel
Save