ath9k: Remove a couple of unused variables in descriptor handling
PATCH 8/17 ath9k: Remove a couple of unused variables in descriptor handling
Signed-off-by Sujith <[email protected]>
--- drivers/net/wireless/ath9k/ath9k.h | 2 -- drivers/net/wireless/ath9k/main.c | 3 +-- 2 files changed, 1 insertions(+), 4 deletions(-)
drivers/net/wireless/ath9k/ath9k.h +0 -2
@@ -149,12 +149,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,
drivers/net/wireless/ath9k/main.c +1 -2
@@ -1790,7 +1790,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;/*
@@ -1820,7 +1819,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 */
Signature · 1 line
1.6.2.1