summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/main.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-03-30 15:28:40 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:54:34 -0400
commitae459af12816b507aed3fcb2b9fc933c212ea12e (patch)
tree4467a61af2ead5faca83031b88975872cb2d02c2 /drivers/net/wireless/ath9k/main.c
parenta119cc492fc720de7fcaf7c1b9394d6c025d276d (diff)
downloadop-kernel-dev-ae459af12816b507aed3fcb2b9fc933c212ea12e.zip
op-kernel-dev-ae459af12816b507aed3fcb2b9fc933c212ea12e.tar.gz
ath9k: Remove a couple of unused variables in descriptor handling
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath9k/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c
index 1b43cb4..f5a541b 100644
--- a/drivers/net/wireless/ath9k/main.c
+++ b/drivers/net/wireless/ath9k/main.c
@@ -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 */
OpenPOWER on IntegriCloud