From 5ead42ce719da100cd4c260bb7022d712c64e6ae Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Fri, 9 May 2014 15:03:38 +0200 Subject: [PATCH] staging: rtl8723au: Remove unused ODM spin lock functions Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723au/hal/odm_interface.c | 18 ------------------ .../staging/rtl8723au/include/odm_interface.h | 5 ----- 2 files changed, 23 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/odm_interface.c b/drivers/staging/rtl8723au/hal/odm_interface.c index 13c790f51f5f..6ca12c418076 100644 --- a/drivers/staging/rtl8723au/hal/odm_interface.c +++ b/drivers/staging/rtl8723au/hal/odm_interface.c @@ -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~! */ /* */ diff --git a/drivers/staging/rtl8723au/include/odm_interface.h b/drivers/staging/rtl8723au/include/odm_interface.h index fe0d52764990..2d51e0197b6a 100644 --- a/drivers/staging/rtl8723au/include/odm_interface.h +++ b/drivers/staging/rtl8723au/include/odm_interface.h @@ -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); -- 2.20.1