[PATCH 08/42] build fix: remove non existing struct ath_softc

Oleksij Rempel linux at rempel-privat.de
Mon Apr 1 02:51:00 EDT 2013


this struct is never declared, so remove it and
unused fucntion which used this struct.

Signed-off-by: Oleksij Rempel <linux at rempel-privat.de>
---
 target_firmware/wlan/if_ath_pci.c | 7 -------
 target_firmware/wlan/if_athrate.h | 1 -
 target_firmware/wlan/if_owl.c     | 4 ++--
 3 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/target_firmware/wlan/if_ath_pci.c b/target_firmware/wlan/if_ath_pci.c
index 038f915..320e29e 100755
--- a/target_firmware/wlan/if_ath_pci.c
+++ b/target_firmware/wlan/if_ath_pci.c
@@ -113,7 +113,6 @@ static adf_os_pci_dev_id_t ath_pci_id_table[] = {
 };
 #endif
 
-void bus_read_cachesize(struct ath_softc *sc, a_uint8_t *csz);
 void exit_ath_pci(void);
 a_int32_t init_ath_pci(void);
 
@@ -175,12 +174,6 @@ ath_pci_resume(adf_drv_handle_t hdl)
 {
 }
 
-void
-bus_read_cachesize(struct ath_softc *sc, a_uint8_t *csz)
-{
-	*csz = adf_os_cache_line_size();
-}
-
 static adf_drv_info_t ath_drv_info = adf_os_pci_set_drv_info(ath_pci_tgt,&ath_pci_id_table[0], ath_pci_probe, ath_pci_remove, ath_pci_suspend, ath_pci_resume);
 
 a_int32_t
diff --git a/target_firmware/wlan/if_athrate.h b/target_firmware/wlan/if_athrate.h
index 12088dd..0ce53e9 100755
--- a/target_firmware/wlan/if_athrate.h
+++ b/target_firmware/wlan/if_athrate.h
@@ -39,7 +39,6 @@
 #ifndef _ATH_RATECTRL_H_
 #define _ATH_RATECTRL_H_
 
-struct ath_softc;
 struct ath_softc_tgt;
 struct ath_node;
 struct ath_node_target;
diff --git a/target_firmware/wlan/if_owl.c b/target_firmware/wlan/if_owl.c
index 2b901fa..529853d 100755
--- a/target_firmware/wlan/if_owl.c
+++ b/target_firmware/wlan/if_owl.c
@@ -120,7 +120,7 @@ static void ath_tgt_tx_sched_aggr(struct ath_softc_tgt *sc, ath_atx_tid_t *tid);
 
 extern a_int32_t ath_chainmask_sel_logic(void *);
 static a_int32_t ath_get_pktlen(struct ath_buf *bf, a_int32_t hdrlen);
-static void ath_tgt_txq_schedule(struct ath_softc *sc, struct ath_txq *txq);
+static void ath_tgt_txq_schedule(struct ath_softc_tgt *sc, struct ath_txq *txq);
 
 typedef void (*ath_ft_set_atype_t)(struct ath_softc_tgt *sc, struct ath_buf *bf);
 
@@ -1293,7 +1293,7 @@ ath_tgt_tx_enqueue(struct ath_txq *txq, struct ath_atx_tid  *tid)
 }
 
 static void
-ath_tgt_txq_schedule(struct ath_softc *sc, struct ath_txq *txq)
+ath_tgt_txq_schedule(struct ath_softc_tgt *sc, struct ath_txq *txq)
 {
 	struct ath_atx_tid  *tid;
 	u_int8_t bdone;
-- 
1.8.1.2




More information about the Ath9k_htc_fw mailing list