]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: rtl8723au: Remove unused ODM spin lock functions
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:38 +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 13c790f51f5fb6b2f4d6e20ce6c85a8f32a4a64d..6ca12c4180761126959623c612d33d41eec29cb7 100644 (file)
@@ -154,24 +154,6 @@ u32 ODM_GetRFReg(
        return PHY_QueryRFReg(Adapter, eRFPath, RegAddr, BitMask);
 }
 
-/*  */
-/*  ODM MISC relative API. */
-/*  */
-void
-ODM_AcquireSpinLock(
-       struct dm_odm_t *pDM_Odm,
-       enum rt_spinlock_type   type
-       )
-{
-}
-
-void ODM_ReleaseSpinLock(
-       struct dm_odm_t *pDM_Odm,
-       enum rt_spinlock_type   type
-       )
-{
-}
-
 /*  */
 /*  Work item relative API. FOr MP driver only~! */
 /*  */
index fe0d52764990d255a11241816a1164c9974f4053..2d51e0197b6a0459bfe0a44d93d4d50183a94dec 100644 (file)
@@ -106,11 +106,6 @@ u32 ODM_GetRFReg(struct dm_odm_t *pDM_Odm, enum RF_RADIO_PATH eRFPath,
 /*  Memory Relative Function. */
 s32 ODM_CompareMemory(struct dm_odm_t *pDM_Odm, void *pBuf1, void *pBuf2, u32 length);
 
-/*  ODM MISC-spin lock relative API. */
-void ODM_AcquireSpinLock(struct dm_odm_t *pDM_Odm, enum rt_spinlock_type type);
-
-void ODM_ReleaseSpinLock(struct dm_odm_t *pDM_Odm, enum rt_spinlock_type type);
-
 /*  ODM MISC-workitem relative API. */
 void ODM_InitializeWorkItem(struct dm_odm_t *pDM_Odm, void *pRtWorkItem,
                            RT_WORKITEM_CALL_BACK RtWorkItemCallback, void *pContext, const char *szID);