projects
/
open-ath9k-htc-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove ath_hal_memzero
[open-ath9k-htc-firmware.git]
/
target_firmware
/
wlan
/
ah_osdep.c
diff --git
a/target_firmware/wlan/ah_osdep.c
b/target_firmware/wlan/ah_osdep.c
index 7cb22663580b80ebdecb315864dc7e0e6eb5dfd6..48b526cba1f756b7bbbd21db05e5e0d991cb4fa0 100755
(executable)
--- a/
target_firmware/wlan/ah_osdep.c
+++ b/
target_firmware/wlan/ah_osdep.c
@@
-48,7
+48,6
@@
#include <adf_os_atomic.h>
#include <adf_nbuf.h>
#include <adf_net.h>
#include <adf_os_atomic.h>
#include <adf_nbuf.h>
#include <adf_net.h>
-#include <adf_net_types.h>
#include "ah.h"
#include<ah_internal.h>
#include "ah.h"
#include<ah_internal.h>
@@
-62,21
+61,15
@@
ath_hal_getuptime(struct ath_hal *ah)
struct ath_hal *
_ath_hal_attach_tgt(a_uint32_t devid, HAL_SOFTC sc,
struct ath_hal *
_ath_hal_attach_tgt(a_uint32_t devid, HAL_SOFTC sc,
- adf_os_device_t dev,
HAL_BUS_HANDLE sh,
a_uint32_t flags, void* s)
+ adf_os_device_t dev, a_uint32_t flags, void* s)
{
HAL_STATUS status;
{
HAL_STATUS status;
- struct ath_hal *ah = ath_hal_attach_tgt(devid,
sc,dev,sh
, flags, &status);
+ struct ath_hal *ah = ath_hal_attach_tgt(devid,
sc, dev
, flags, &status);
adf_os_print(" ath_hal = %p \n",ah);
*(HAL_STATUS *)s = status;
return ah;
}
adf_os_print(" ath_hal = %p \n",ah);
*(HAL_STATUS *)s = status;
return ah;
}
-void
-ath_hal_detach(struct ath_hal *ah)
-{
- (*ah->ah_detach)(ah);
-}
-
extern void *global_hdl;
/*
extern void *global_hdl;
/*
@@
-135,12
+128,6
@@
ath_hal_free(void* p)
adf_os_mem_free(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)
{
void * __ahdecl
ath_hal_memcpy(void *dst, const void *src, adf_os_size_t n)
{