]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath10k: remove unused callback argument from struct ath10k_hif_cb::rx_completion
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 27 Nov 2014 10:09:36 +0000 (11:09 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 1 Dec 2014 07:13:06 +0000 (09:13 +0200)
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>
drivers/net/wireless/ath/ath10k/hif.h
drivers/net/wireless/ath/ath10k/htc.c
drivers/net/wireless/ath/ath10k/pci.c

index 6ac552304546931c1795a9cf554567957e3a8910..91d24a546efa23c38b25fe0e65a2ac03ecb1be09 100644 (file)
@@ -35,8 +35,7 @@ struct ath10k_hif_cb {
                             struct sk_buff *wbuf,
                             unsigned transfer_id);
        int (*rx_completion)(struct ath10k *ar,
-                            struct sk_buff *wbuf,
-                            u8 pipe_id);
+                            struct sk_buff *wbuf);
 };
 
 struct ath10k_hif_ops {
index 676bd4ed969bd5d9f63817ea6e5229c41a7c644e..e245e34f9f1c55a880198ff35269906ba1357e3b 100644 (file)
@@ -317,8 +317,7 @@ static int ath10k_htc_process_trailer(struct ath10k_htc *htc,
 }
 
 static int ath10k_htc_rx_completion_handler(struct ath10k *ar,
-                                           struct sk_buff *skb,
-                                           u8 pipe_id)
+                                           struct sk_buff *skb)
 {
        int status = 0;
        struct ath10k_htc *htc = &ar->htc;
index 0816098af578e30c708adb851c0e3c0216591463..541f3bc497a956aecb6d8364f744c11ff0585390 100644 (file)
@@ -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: ",
                                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);