From 44e1163a8b078272bb068b77b0144a3d47ab1320 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sat, 11 May 2013 17:51:28 +0200 Subject: [PATCH] remove ath_rate_detach Signed-off-by: Oleksij Rempel --- target_firmware/wlan/if_athrate.h | 1 - target_firmware/wlan/ratectrl_11n_ln.c | 6 ------ 2 files changed, 7 deletions(-) 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, -- 2.25.1