build fix: remove non existing struct ath_softc
authorOleksij Rempel <linux@rempel-privat.de>
Sun, 31 Mar 2013 13:59:26 +0000 (15:59 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sun, 31 Mar 2013 18:05:34 +0000 (20:05 +0200)
this struct is never declared, so remove it and
unused fucntion which used this struct.

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/if_ath_pci.c
target_firmware/wlan/if_athrate.h
target_firmware/wlan/if_owl.c

index 038f915f3947e3db1ee1f97121109470a78fac9f..320e29eb897bd18d543a52237fcd996eee71a0ae 100755 (executable)
@@ -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
index 12088dd07cb23460bf9f809f64d66481b7d4c12d..0ce53e9cdbf6c89d89f29872dd1636d86958a9e8 100755 (executable)
@@ -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;
index 2b901fa6a4441e58b3b75a9f18113533ed67d574..529853d9f693cde011f670aad95226bc231bb38f 100755 (executable)
@@ -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;