]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ath9k: Remove a couple of unused variables in descriptor handling
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 30 Mar 2009 09:58:40 +0000 (15:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:34 +0000 (16:54 -0400)
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/ath9k.h
drivers/net/wireless/ath9k/main.c

index e6c39c1c1a28ca98273f83cd6f28f4da7a4de643..dc42ad129b231f40c2725395409eb79e51cace64 100644 (file)
@@ -145,12 +145,10 @@ struct ath_buf {
 };
 
 struct ath_descdma {
-       const char *dd_name;
        struct ath_desc *dd_desc;
        dma_addr_t dd_desc_paddr;
        u32 dd_desc_len;
        struct ath_buf *dd_bufptr;
-       dma_addr_t dd_dmacontext;
 };
 
 int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd,
index 1b43cb41363c59439c77b6e8b3d02a196ee57642..f5a541b864ce4d8a1214c569a0768aae0d6d846f 100644 (file)
@@ -1789,7 +1789,6 @@ int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd,
                goto fail;
        }
 
-       dd->dd_name = name;
        dd->dd_desc_len = sizeof(struct ath_desc) * nbuf * ndesc;
 
        /*
@@ -1819,7 +1818,7 @@ int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd,
        }
        ds = dd->dd_desc;
        DPRINTF(sc, ATH_DBG_CONFIG, "%s DMA map: %p (%u) -> %llx (%u)\n",
-               dd->dd_name, ds, (u32) dd->dd_desc_len,
+               name, ds, (u32) dd->dd_desc_len,
                ito64(dd->dd_desc_paddr), /*XXX*/(u32) dd->dd_desc_len);
 
        /* allocate buffers */