Commit 5f07ea4c authored by Michal Kazior's avatar Michal Kazior Committed by Kalle Valo

ath10k: remove unused callback argument from struct ath10k_hif_cb::rx_completion

This wasn't used since forever and there are no
plans on using it.
Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent acfe7ecf
...@@ -35,8 +35,7 @@ struct ath10k_hif_cb { ...@@ -35,8 +35,7 @@ struct ath10k_hif_cb {
struct sk_buff *wbuf, struct sk_buff *wbuf,
unsigned transfer_id); unsigned transfer_id);
int (*rx_completion)(struct ath10k *ar, int (*rx_completion)(struct ath10k *ar,
struct sk_buff *wbuf, struct sk_buff *wbuf);
u8 pipe_id);
}; };
struct ath10k_hif_ops { struct ath10k_hif_ops {
......
...@@ -317,8 +317,7 @@ static int ath10k_htc_process_trailer(struct ath10k_htc *htc, ...@@ -317,8 +317,7 @@ static int ath10k_htc_process_trailer(struct ath10k_htc *htc,
} }
static int ath10k_htc_rx_completion_handler(struct ath10k *ar, static int ath10k_htc_rx_completion_handler(struct ath10k *ar,
struct sk_buff *skb, struct sk_buff *skb)
u8 pipe_id)
{ {
int status = 0; int status = 0;
struct ath10k_htc *htc = &ar->htc; struct ath10k_htc *htc = &ar->htc;
......
...@@ -875,7 +875,7 @@ static void ath10k_pci_ce_recv_data(struct ath10k_ce_pipe *ce_state) ...@@ -875,7 +875,7 @@ static void ath10k_pci_ce_recv_data(struct ath10k_ce_pipe *ce_state)
ath10k_dbg_dump(ar, ATH10K_DBG_PCI_DUMP, NULL, "pci rx: ", ath10k_dbg_dump(ar, ATH10K_DBG_PCI_DUMP, NULL, "pci rx: ",
skb->data, skb->len); skb->data, skb->len);
cb->rx_completion(ar, skb, pipe_info->pipe_num); cb->rx_completion(ar, skb);
} }
ath10k_pci_rx_post_pipe(pipe_info); ath10k_pci_rx_post_pipe(pipe_info);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment