staging: rtl8723au: Remove unused ODM malloc/free functions
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:37 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:11:58 +0000 (13:11 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/odm_interface.c
drivers/staging/rtl8723au/include/odm_interface.h

index bef1269749d04a70621503f80afb96dea24817a2..13c790f51f5fb6b2f4d6e20ce6c85a8f32a4a64d 100644 (file)
@@ -154,28 +154,6 @@ u32 ODM_GetRFReg(
        return PHY_QueryRFReg(Adapter, eRFPath, RegAddr, BitMask);
 }
 
-/*  */
-/*  ODM Memory relative API. */
-/*  */
-void ODM_AllocateMemory(
-       struct dm_odm_t *pDM_Odm,
-       void **pPtr,
-       u32             length
-       )
-{
-       *pPtr = rtw_zvmalloc(length);
-}
-
-/*  length could be ignored, used to detect memory leakage. */
-void ODM_FreeMemory(
-       struct dm_odm_t *pDM_Odm,
-       void *pPtr,
-       u32             length
-       )
-{
-       rtw_vmfree(pPtr, length);
-}
-
 /*  */
 /*  ODM MISC relative API. */
 /*  */
index f216b5846f92691052fefbf4a9d8e0518f6638d8..fe0d52764990d255a11241816a1164c9974f4053 100644 (file)
@@ -104,9 +104,6 @@ u32 ODM_GetRFReg(struct dm_odm_t *pDM_Odm, enum RF_RADIO_PATH eRFPath,
                 u32 RegAddr, u32 BitMask);
 
 /*  Memory Relative Function. */
-void ODM_AllocateMemory(struct dm_odm_t *pDM_Odm, void **pPtr, u32 length);
-void ODM_FreeMemory(struct dm_odm_t *pDM_Odm, void *pPtr, u32 length);
-
 s32 ODM_CompareMemory(struct dm_odm_t *pDM_Odm, void *pBuf1, void *pBuf2, u32 length);
 
 /*  ODM MISC-spin lock relative API. */