Mercurial > flash_v2
changeset 1455:40b7a8e5d137
Clean up unused variables
| author | gthomas |
|---|---|
| date | Sun, 21 Dec 2003 13:46:52 +0000 |
| parents | 23d8f1e5c43f |
| children | 17c50425fc72 |
| files | packages/devs/eth/powerpc/fec/current/ChangeLog packages/devs/eth/powerpc/fec/current/src/if_fec.c |
| diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/devs/eth/powerpc/fec/current/ChangeLog +++ b/packages/devs/eth/powerpc/fec/current/ChangeLog @@ -1,3 +1,7 @@ +2003-12-21 Gary Thomas <gary@mlbassoc.com> + + * src/if_fec.c (fec_eth_RxEvent): Clean up some unused variables. + 2003-10-06 Gary Thomas <gary@mlbassoc.com> * cdl/fec_eth_drivers.cdl: Disable STATUS_LEDS by default since these
--- a/packages/devs/eth/powerpc/fec/current/src/if_fec.c +++ b/packages/devs/eth/powerpc/fec/current/src/if_fec.c @@ -672,10 +672,7 @@ fec_eth_RxEvent(struct eth_drv_sc *sc) { struct fec_eth_info *qi = (struct fec_eth_info *)sc->driver_private; volatile struct fec_bd *rxbd, *rxfirst; - int cache_state; - // Note: the MPC8xx does not seem to snoop/invalidate the data cache properly! - HAL_DCACHE_IS_ENABLED(cache_state); rxbd = rxfirst = qi->rnext; while (true) { if ((rxbd->ctrl & FEC_BD_Rx_Empty) == 0) {
