remove ath_hal_memzero
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 15:36:25 +0000 (17:36 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 15:36:25 +0000 (17:36 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/ah_osdep.c
target_firmware/wlan/ah_osdep.h
target_firmware/wlan/ratectrl.h

index eebf7225377e94ad1f21eaa1988bba48a3e1262c..48b526cba1f756b7bbbd21db05e5e0d991cb4fa0 100755 (executable)
@@ -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)
 {
index a4a3c6d602838e758e608d09429f581a166441cc..b0026dfbaae312e17633f11d53a1e98a9dbe9f40 100755 (executable)
@@ -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);
 
index 97ee9a6e0cd4a025414e0a2f6f536a0f1691ec03..3b3f5eaf0518f3ae6b26ccc0465123d5d2a6fc9d 100755 (executable)
@@ -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