From: Oleksij Rempel Date: Sat, 11 May 2013 15:36:25 +0000 (+0200) Subject: remove ath_hal_memzero X-Git-Tag: 1.4.0~12^2^2~23 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=6785b23ced4c3da96cd90f32af0207c0704734da;p=open-ath9k-htc-firmware.git remove ath_hal_memzero Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ah_osdep.c b/target_firmware/wlan/ah_osdep.c index eebf722..48b526c 100755 --- a/target_firmware/wlan/ah_osdep.c +++ b/target_firmware/wlan/ah_osdep.c @@ -128,12 +128,6 @@ ath_hal_free(void* p) adf_os_mem_free(p); } -void __ahdecl -ath_hal_memzero(void *dst, adf_os_size_t n) -{ - adf_os_mem_set(dst, 0, n); -} - void * __ahdecl ath_hal_memcpy(void *dst, const void *src, adf_os_size_t n) { diff --git a/target_firmware/wlan/ah_osdep.h b/target_firmware/wlan/ah_osdep.h index a4a3c6d..b0026df 100755 --- a/target_firmware/wlan/ah_osdep.h +++ b/target_firmware/wlan/ah_osdep.h @@ -128,8 +128,6 @@ extern void __ahdecl ath_hal_delay(a_int32_t); extern void* __ahdecl ath_hal_ioremap(a_uint32_t addr, a_uint32_t len); #define OS_REMAP(_addr, _len) ath_hal_ioremap(_addr, _len) -#define OS_MEMZERO(_a, _n) ath_hal_memzero((_a), (_n)) -extern void __ahdecl ath_hal_memzero(void *, size_t); #define OS_MEMCPY(_d, _s, _n) ath_hal_memcpy(_d,_s,_n) extern void * __ahdecl ath_hal_memcpy(void *, const void *, size_t); diff --git a/target_firmware/wlan/ratectrl.h b/target_firmware/wlan/ratectrl.h index 97ee9a6..3b3f5ea 100755 --- a/target_firmware/wlan/ratectrl.h +++ b/target_firmware/wlan/ratectrl.h @@ -80,7 +80,6 @@ typedef u_int8_t WLAN_PHY; * a null arg because we know it's not needed. */ #define A_MS_TICKGET() OS_GETUPTIME(NULL) -#define A_MEM_ZERO(p,s) OS_MEMZERO(p,s) #define WLAN_PHY_OFDM IEEE80211_T_OFDM #define WLAN_PHY_TURBO IEEE80211_T_TURBO