diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2014-11-27 05:09:36 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-12-01 02:13:06 -0500 |
commit | 5f07ea4c3a9ae3277ac3bfdbc6df5814e800ad66 (patch) | |
tree | f66f9fb8b9f5b6225af7ddcc2c9d4b77bf080788 | |
parent | acfe7ecfa40dece73e3dcdc2f606a87988b1472c (diff) |
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: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r-- | drivers/net/wireless/ath/ath10k/hif.h | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath10k/htc.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath10k/pci.c | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath10k/hif.h b/drivers/net/wireless/ath/ath10k/hif.h index 6ac552304546..91d24a546efa 100644 --- a/drivers/net/wireless/ath/ath10k/hif.h +++ b/drivers/net/wireless/ath/ath10k/hif.h | |||
@@ -35,8 +35,7 @@ struct ath10k_hif_cb { | |||
35 | struct sk_buff *wbuf, | 35 | struct sk_buff *wbuf, |
36 | unsigned transfer_id); | 36 | unsigned transfer_id); |
37 | int (*rx_completion)(struct ath10k *ar, | 37 | int (*rx_completion)(struct ath10k *ar, |
38 | struct sk_buff *wbuf, | 38 | struct sk_buff *wbuf); |
39 | u8 pipe_id); | ||
40 | }; | 39 | }; |
41 | 40 | ||
42 | struct ath10k_hif_ops { | 41 | struct ath10k_hif_ops { |
diff --git a/drivers/net/wireless/ath/ath10k/htc.c b/drivers/net/wireless/ath/ath10k/htc.c index 676bd4ed969b..e245e34f9f1c 100644 --- a/drivers/net/wireless/ath/ath10k/htc.c +++ b/drivers/net/wireless/ath/ath10k/htc.c | |||
@@ -317,8 +317,7 @@ static int ath10k_htc_process_trailer(struct ath10k_htc *htc, | |||
317 | } | 317 | } |
318 | 318 | ||
319 | static int ath10k_htc_rx_completion_handler(struct ath10k *ar, | 319 | static int ath10k_htc_rx_completion_handler(struct ath10k *ar, |
320 | struct sk_buff *skb, | 320 | struct sk_buff *skb) |
321 | u8 pipe_id) | ||
322 | { | 321 | { |
323 | int status = 0; | 322 | int status = 0; |
324 | struct ath10k_htc *htc = &ar->htc; | 323 | struct ath10k_htc *htc = &ar->htc; |
diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c index 0816098af578..541f3bc497a9 100644 --- a/drivers/net/wireless/ath/ath10k/pci.c +++ b/drivers/net/wireless/ath/ath10k/pci.c | |||
@@ -875,7 +875,7 @@ static void ath10k_pci_ce_recv_data(struct ath10k_ce_pipe *ce_state) | |||
875 | ath10k_dbg_dump(ar, ATH10K_DBG_PCI_DUMP, NULL, "pci rx: ", | 875 | ath10k_dbg_dump(ar, ATH10K_DBG_PCI_DUMP, NULL, "pci rx: ", |
876 | skb->data, skb->len); | 876 | skb->data, skb->len); |
877 | 877 | ||
878 | cb->rx_completion(ar, skb, pipe_info->pipe_num); | 878 | cb->rx_completion(ar, skb); |
879 | } | 879 | } |
880 | 880 | ||
881 | ath10k_pci_rx_post_pipe(pipe_info); | 881 | ath10k_pci_rx_post_pipe(pipe_info); |