[rtems commit] Remove unused vars 'rxdmaBase', txdmaBase.

Ralf Corsepius ralf at rtems.org
Fri Oct 19 11:59:14 UTC 2012


Module:    rtems
Branch:    master
Commit:    02687e22bd6808335765bc9ead4f6d01307e117c
Changeset: http://git.rtems.org/rtems/commit/?id=02687e22bd6808335765bc9ead4f6d01307e117c

Author:    Ralf Corsépius <ralf.corsepius at rtems.org>
Date:      Thu Oct 18 15:22:58 2012 +0200

Remove unused vars 'rxdmaBase', txdmaBase.

---

 c/src/lib/libcpu/bfin/network/ethernet.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/c/src/lib/libcpu/bfin/network/ethernet.c b/c/src/lib/libcpu/bfin/network/ethernet.c
index 8637e98..9dc3519 100644
--- a/c/src/lib/libcpu/bfin/network/ethernet.c
+++ b/c/src/lib/libcpu/bfin/network/ethernet.c
@@ -728,14 +728,10 @@ static void ethernetInit(void *arg) {
   struct bfin_ethernetSoftc *sc;
   struct ifnet *ifp;
   void *ethBase;
-  void *rxdmaBase;
-  void *txdmaBase;
 
   sc = arg;
   ifp = &sc->arpcom.ac_if;
   ethBase = sc->ethBase;
-  rxdmaBase = sc->rxdmaBase;
-  txdmaBase = sc->txdmaBase;
 
   if (sc->txDaemonTid == 0) {
     initializeHardware(sc);




More information about the vc mailing list