2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>

* libchip/network/smc91111.c: Eliminate unused var "success".
This commit is contained in:
Ralf Corsepius
2011-10-11 05:19:13 +00:00
parent b4fe8c305d
commit d1dbd228d3
2 changed files with 1 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/smc91111.c: Eliminate unused var "success".
* libchip/serial/mc68681.c: Eliminate unused var "getReg". * libchip/serial/mc68681.c: Eliminate unused var "getReg".
2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>

View File

@@ -716,7 +716,6 @@ static void smc91111_start(struct ifnet *ifp)
static void lan91cxx_finish_sent(struct lan91cxx_priv_data *cpd) static void lan91cxx_finish_sent(struct lan91cxx_priv_data *cpd)
{ {
unsigned short packet, tcr; unsigned short packet, tcr;
int success = 1;
int saved_packet; int saved_packet;
DEBUG_FUNCTION(); DEBUG_FUNCTION();
@@ -777,7 +776,6 @@ static void lan91cxx_finish_sent(struct lan91cxx_priv_data *cpd)
db1_printf("%s: ENGINE RESTART: tcr %x \n", __FUNCTION__, tcr); db1_printf("%s: ENGINE RESTART: tcr %x \n", __FUNCTION__, tcr);
tcr |= LAN91CXX_TCR_TXENA; tcr |= LAN91CXX_TCR_TXENA;
put_reg(cpd, LAN91CXX_TCR, tcr); put_reg(cpd, LAN91CXX_TCR, tcr);
success = 0; /* And treat this as an error... */
} }
packet &= 0xff; packet &= 0xff;