提交 7c565b6f 编写于 作者: V Vasanthakumar Thiagarajan 提交者: Kalle Valo

ath6kl: Remove useless flags in hif_scatter_req

Signed-off-by: NVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 d4df7890
......@@ -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;
......
......@@ -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;
......
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册