aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/ath9k.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-03-30 05:58:36 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:54:32 -0400
commita22be22ab8fe571cce88d0d30b49f297a563c4a7 (patch)
tree626d81aa65679c2f6486f14e869ac8d5d544d368 /drivers/net/wireless/ath9k/ath9k.h
parent0ef1f168b6bc82b0b157c568e764b75961867970 (diff)
ath9k: Avoid unneeded casts
Change the void pointer to struct sk_buff and access bf_mpdu directly, removing all casts in the process. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath9k/ath9k.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/ath9k.h b/drivers/net/wireless/ath9k/ath9k.h
index 1dfc3816a2d8..9adc991cb05f 100644
--- a/drivers/net/wireless/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath9k/ath9k.h
@@ -130,7 +130,7 @@ struct ath_buf {
130 struct ath_buf *bf_lastbf; /* last buf of this unit (a frame or 130 struct ath_buf *bf_lastbf; /* last buf of this unit (a frame or
131 an aggregate) */ 131 an aggregate) */
132 struct ath_buf *bf_next; /* next subframe in the aggregate */ 132 struct ath_buf *bf_next; /* next subframe in the aggregate */
133 void *bf_mpdu; /* enclosing frame structure */ 133 struct sk_buff *bf_mpdu; /* enclosing frame structure */
134 struct ath_desc *bf_desc; /* virtual addr of desc */ 134 struct ath_desc *bf_desc; /* virtual addr of desc */
135 dma_addr_t bf_daddr; /* physical addr of desc */ 135 dma_addr_t bf_daddr; /* physical addr of desc */
136 dma_addr_t bf_buf_addr; /* physical addr of data buffer */ 136 dma_addr_t bf_buf_addr; /* physical addr of data buffer */