diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2014-02-06 20:45:44 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 10:44:31 -0800 |
commit | 9b4a2b7e28152c445f0ecc9d1b7e1381b0cd23c0 (patch) | |
tree | e6eecbe2f05ccbe76392a1f1f742e131940505a2 /drivers/staging/rtl8188eu | |
parent | 03bd6aea7ba610a1a19f840c373624b8b0adde0d (diff) |
staging: r8188eu: Remove ODM_AllocateMemory
This wrapper for vzalloc() is not used.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r-- | drivers/staging/rtl8188eu/hal/odm_interface.c | 6 | ||||
-rw-r--r-- | drivers/staging/rtl8188eu/include/odm_interface.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/rtl8188eu/hal/odm_interface.c b/drivers/staging/rtl8188eu/hal/odm_interface.c index 568c73476f8c..0f5b32fb63a7 100644 --- a/drivers/staging/rtl8188eu/hal/odm_interface.c +++ b/drivers/staging/rtl8188eu/hal/odm_interface.c @@ -20,12 +20,6 @@ #include "odm_precomp.h" -/* ODM Memory relative API. */ -void ODM_AllocateMemory(struct odm_dm_struct *pDM_Odm, void **pPtr, u32 length) -{ - *pPtr = vzalloc(length); -} - s32 ODM_CompareMemory(struct odm_dm_struct *pDM_Odm, void *pBuf1, void *pBuf2, u32 length) { return _rtw_memcmp(pBuf1, pBuf2, length); diff --git a/drivers/staging/rtl8188eu/include/odm_interface.h b/drivers/staging/rtl8188eu/include/odm_interface.h index eb96d7a6d5ad..8e077549e875 100644 --- a/drivers/staging/rtl8188eu/include/odm_interface.h +++ b/drivers/staging/rtl8188eu/include/odm_interface.h @@ -78,7 +78,6 @@ typedef void (*RT_WORKITEM_CALL_BACK)(void *pContext); /* =========== EXtern Function Prototype */ /* Memory Relative Function. */ -void ODM_AllocateMemory(struct odm_dm_struct *pDM_Odm, void **pPtr, u32 length); s32 ODM_CompareMemory(struct odm_dm_struct *pDM_Odm, void *pBuf1, void *pBuf2, u32 length); |