aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2011-07-16 10:59:08 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-08-09 12:45:19 -0400
commit7c565b6f8c635fc22535c763e08184379b16920e (patch)
treeae7fd4a2157553b2b9af8fc152f9822d83c6c3da /drivers/net
parentd4df78904d12850c1c57bfffde8eff5195f3cd4d (diff)
ath6kl: Remove useless flags in hif_scatter_req
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath6kl/hif.h1
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc.c6
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc.h4
3 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/hif.h b/drivers/net/wireless/ath/ath6kl/hif.h
index 35f90a3b5a8b..f17ae57ee303 100644
--- a/drivers/net/wireless/ath/ath6kl/hif.h
+++ b/drivers/net/wireless/ath/ath6kl/hif.h
@@ -171,7 +171,6 @@ struct hif_scatter_req {
171 /* total length of entire transfer */ 171 /* total length of entire transfer */
172 u32 len; 172 u32 len;
173 173
174 u32 flags;
175 void (*complete) (struct hif_scatter_req *); 174 void (*complete) (struct hif_scatter_req *);
176 int status; 175 int status;
177 struct htc_endpoint *ep; 176 struct htc_endpoint *ep;
diff --git a/drivers/net/wireless/ath/ath6kl/htc.c b/drivers/net/wireless/ath/ath6kl/htc.c
index 95c47bbd1d78..e65de498a825 100644
--- a/drivers/net/wireless/ath/ath6kl/htc.c
+++ b/drivers/net/wireless/ath/ath6kl/htc.c
@@ -1563,12 +1563,6 @@ static int htc_issue_rxpkt_bundle(struct htc_target *target,
1563 if (scat_req == NULL) 1563 if (scat_req == NULL)
1564 goto fail_rx_pkt; 1564 goto fail_rx_pkt;
1565 1565
1566 scat_req->flags = 0;
1567
1568 if (part_bundle)
1569 scat_req->flags |=
1570 HTC_SCAT_REQ_FLG_PART_BNDL;
1571
1572 for (i = 0; i < n_scat_pkt; i++) { 1566 for (i = 0; i < n_scat_pkt; i++) {
1573 int pad_len; 1567 int pad_len;
1574 1568
diff --git a/drivers/net/wireless/ath/ath6kl/htc.h b/drivers/net/wireless/ath/ath6kl/htc.h
index 16fa7a84a231..ff0ed6fe7ee8 100644
--- a/drivers/net/wireless/ath/ath6kl/htc.h
+++ b/drivers/net/wireless/ath/ath6kl/htc.h
@@ -119,10 +119,6 @@
119#define HTC_RX_PKT_PART_OF_BUNDLE (1 << 2) 119#define HTC_RX_PKT_PART_OF_BUNDLE (1 << 2)
120#define HTC_RX_PKT_NO_RECYCLE (1 << 3) 120#define HTC_RX_PKT_NO_RECYCLE (1 << 3)
121 121
122/* scatter request flags */
123
124#define HTC_SCAT_REQ_FLG_PART_BNDL (1 << 0)
125
126#define NUM_CONTROL_BUFFERS 8 122#define NUM_CONTROL_BUFFERS 8
127#define NUM_CONTROL_TX_BUFFERS 2 123#define NUM_CONTROL_TX_BUFFERS 2
128#define NUM_CONTROL_RX_BUFFERS (NUM_CONTROL_BUFFERS - NUM_CONTROL_TX_BUFFERS) 124#define NUM_CONTROL_RX_BUFFERS (NUM_CONTROL_BUFFERS - NUM_CONTROL_TX_BUFFERS)