From: Oleksij Rempel Date: Sat, 11 May 2013 15:51:28 +0000 (+0200) Subject: remove ath_rate_detach X-Git-Tag: 1.4.0~12^2^2~18 X-Git-Url: https://jxself.org/git/?p=open-ath9k-htc-firmware.git;a=commitdiff_plain;h=44e1163a8b078272bb068b77b0144a3d47ab1320 remove ath_rate_detach Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_athrate.h b/target_firmware/wlan/if_athrate.h index 0ce53e9..44e820d 100755 --- a/target_firmware/wlan/if_athrate.h +++ b/target_firmware/wlan/if_athrate.h @@ -82,7 +82,6 @@ struct ath_rc_series { * Attach/detach a rate control module. */ struct ath_ratectrl *ath_rate_attach(struct ath_softc_tgt *); -void ath_rate_detach(struct ath_ratectrl *); /* * Return the transmit info for a data packet. If multi-rate state diff --git a/target_firmware/wlan/ratectrl_11n_ln.c b/target_firmware/wlan/ratectrl_11n_ln.c index eefad46..b3462d3 100755 --- a/target_firmware/wlan/ratectrl_11n_ln.c +++ b/target_firmware/wlan/ratectrl_11n_ln.c @@ -1040,12 +1040,6 @@ ath_rate_attach(struct ath_softc_tgt *sc) return &asc->arc; } -void -ath_rate_detach(struct ath_ratectrl *rc) -{ - adf_os_mem_free(rc); -} - void ath_rate_findrate(struct ath_softc_tgt *sc, struct ath_node_target *an,