Skip to content

Commit

Permalink
staging: r8188eu: Remove ODM_Read2Byte
Browse files Browse the repository at this point in the history
This routine is never used.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Larry Finger authored and Greg Kroah-Hartman committed Feb 7, 2014
1 parent 9dd7210 commit e482338
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions drivers/staging/rtl8188eu/hal/odm_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
#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;
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/rtl8188eu/include/odm_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e482338

Please sign in to comment.