staging: r8188eu: Remove ODM_Read2Byte
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 7 Feb 2014 02:45:37 +0000 (20:45 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 18:44:31 +0000 (10:44 -0800)
This routine is never used.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/odm_interface.c
drivers/staging/rtl8188eu/include/odm_interface.h

index 5b290670c48e9454f7d115f66b61c00854492a7c..f8d1692ce29efc8ac0acfb240c9a8e593e13f789 100644 (file)
 #include "odm_precomp.h"
 /*  ODM IO Relative API. */
 
-u16 ODM_Read2Byte(struct odm_dm_struct *pDM_Odm, u32 RegAddr)
-{
-       struct adapter *Adapter = pDM_Odm->Adapter;
-       return rtw_read16(Adapter, RegAddr);
-}
-
 u32 ODM_Read4Byte(struct odm_dm_struct *pDM_Odm, u32 RegAddr)
 {
        struct adapter *Adapter = pDM_Odm->Adapter;
index ba061010e2dd33512da67a52db1c63a9391aeca6..84c6449558c2ba5962c639bcddbadc2aadd4bfd2 100644 (file)
@@ -77,8 +77,6 @@ typedef void (*RT_WORKITEM_CALL_BACK)(void *pContext);
 
 /*  =========== EXtern Function Prototype */
 
-u16 ODM_Read2Byte(struct odm_dm_struct *pDM_Odm, u32 RegAddr);
-
 u32 ODM_Read4Byte(struct odm_dm_struct *pDM_Odm, u32 RegAddr);
 
 void ODM_Write1Byte(struct odm_dm_struct *pDM_Odm, u32 RegAddr, u8 Data);