diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-03-30 03:14:23 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-31 18:46:41 (GMT) |
commit | 29bffa96e9bef4fb84740a49e93d5bd6ca126bac (patch) | |
tree | acfa30d0f0568457e70317dd8315a141dda2e6eb /drivers/net/wireless/ath/ath9k/mac.h | |
parent | 8e6f5aa250d6013ec0d66f9f45f376678d3fc4ab (diff) | |
download | linux-fsl-qoriq-29bffa96e9bef4fb84740a49e93d5bd6ca126bac.tar.xz |
ath9k: allocate tx and rx status information on stack
ath_tx_status and ath_rx_status data are only necessary for a short
time, until they have been processed and converted into mac80211 data
structures.
Because of that, it makes no sense to keep them tied to the DMA
descriptor, that only wastes precious memory.
This patch allocates the data on stack in the functions that call the
conversion functions from ath9k_hw.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/mac.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mac.h b/drivers/net/wireless/ath/ath9k/mac.h index d1d5b23..68dbd7a 100644 --- a/drivers/net/wireless/ath/ath9k/mac.h +++ b/drivers/net/wireless/ath/ath9k/mac.h @@ -233,11 +233,6 @@ struct ath_desc { u32 ds_ctl0; u32 ds_ctl1; u32 ds_hw[20]; - union { - struct ath_tx_status tx; - struct ath_rx_status rx; - void *stats; - } ds_us; void *ds_vdata; } __packed; |