Skip to content

Commit

Permalink
ath6kl: Remove useless flags in hif_scatter_req
Browse files Browse the repository at this point in the history
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
  • Loading branch information
Vasanthakumar Thiagarajan authored and Kalle Valo committed Aug 9, 2011
1 parent d4df789 commit 7c565b6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion drivers/net/wireless/ath/ath6kl/hif.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,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;
Expand Down
6 changes: 0 additions & 6 deletions drivers/net/wireless/ath/ath6kl/htc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 0 additions & 4 deletions drivers/net/wireless/ath/ath6kl/htc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7c565b6

Please sign in to comment.