From: Vasanthakumar Thiagarajan <vthiagar@xxxxxxxxxxxxxxxx> Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@xxxxxxxxxxxxxxxx> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> --- drivers/net/wireless/ath/ath6kl/hif.h | 1 - drivers/net/wireless/ath/ath6kl/htc.c | 6 ------ drivers/net/wireless/ath/ath6kl/htc.h | 4 ---- 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 a5cdc71..f202f0d 100644 --- a/drivers/net/wireless/ath/ath6kl/hif.h +++ b/drivers/net/wireless/ath/ath6kl/hif.h @@ -169,7 +169,6 @@ struct hif_scatter_req { /* total length of entire transfer */ u32 len; - u32 flags; void (*complete) (struct hif_scatter_req *); int status; struct htc_endpoint *ep; diff --git a/drivers/net/wireless/ath/ath6kl/htc.c b/drivers/net/wireless/ath/ath6kl/htc.c index 95c47bb..e65de49 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, if (scat_req == NULL) goto fail_rx_pkt; - scat_req->flags = 0; - - if (part_bundle) - scat_req->flags |= - HTC_SCAT_REQ_FLG_PART_BNDL; - for (i = 0; i < n_scat_pkt; i++) { int pad_len; diff --git a/drivers/net/wireless/ath/ath6kl/htc.h b/drivers/net/wireless/ath/ath6kl/htc.h index 16fa7a8..ff0ed6f 100644 --- a/drivers/net/wireless/ath/ath6kl/htc.h +++ b/drivers/net/wireless/ath/ath6kl/htc.h @@ -119,10 +119,6 @@ #define HTC_RX_PKT_PART_OF_BUNDLE (1 << 2) #define HTC_RX_PKT_NO_RECYCLE (1 << 3) -/* scatter request flags */ - -#define HTC_SCAT_REQ_FLG_PART_BNDL (1 << 0) - #define NUM_CONTROL_BUFFERS 8 #define NUM_CONTROL_TX_BUFFERS 2 #define NUM_CONTROL_RX_BUFFERS (NUM_CONTROL_BUFFERS - NUM_CONTROL_TX_BUFFERS) -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html