this struct is never declared, so remove it and
unused fucntion which used this struct.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
};
#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);
{
}
-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
#ifndef _ATH_RATECTRL_H_
#define _ATH_RATECTRL_H_
-struct ath_softc;
struct ath_softc_tgt;
struct ath_node;
struct ath_node_target;
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);
}
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;