OSDN Git Service

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 13c790f..6ca12c4 100644 (file)
@@ -155,24 +155,6 @@ u32 ODM_GetRFReg(
 }
 
 /*  */
-/*  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~! */
 /*  */
 void ODM_InitializeWorkItem(
index fe0d527..2d51e01 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);