summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authornavin patidar <navin.patidar@gmail.com>2014-06-20 20:29:26 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-20 09:52:32 -0700
commit98e0ef38d4c67508a68bd186e268c775ed414af8 (patch)
tree7a2719c91035003914e8d9f2403b8c6ea97145b4 /drivers
parenta602fd073f271c875e13e60aa8c86f86629eb820 (diff)
downloadlinux-98e0ef38d4c67508a68bd186e268c775ed414af8.tar.bz2
staging: rtl8188eu: Remove function Efuse_Write1ByteToFakeContent()
Efuse_Write1ByteToFakeContent() is used only in efuse_OneByteWrite(), when pseudo is true, but pseudo is always false. Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_efuse.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_efuse.c b/drivers/staging/rtl8188eu/core/rtw_efuse.c
index de211a7ac5c9..f6205c9cb6ee 100644
--- a/drivers/staging/rtl8188eu/core/rtw_efuse.c
+++ b/drivers/staging/rtl8188eu/core/rtw_efuse.c
@@ -61,21 +61,6 @@ static bool Efuse_Read1ByteFromFakeContent(
return true;
}
-static bool
-Efuse_Write1ByteToFakeContent(
- struct adapter *pAdapter,
- u16 Offset,
- u8 Value)
-{
- if (Offset >= EFUSE_MAX_HW_SIZE)
- return false;
- if (fakeEfuseBank == 0)
- fakeEfuseContent[Offset] = Value;
- else
- fakeBTEfuseContent[fakeEfuseBank-1][Offset] = Value;
- return true;
-}
-
/* 11/16/2008 MH Add description. Get current efuse area enabled word!!. */
u8
Efuse_CalculateWordCnts(u8 word_en)
@@ -238,11 +223,6 @@ u8 efuse_OneByteWrite(struct adapter *pAdapter, u16 addr, u8 data, bool pseudo)
u8 tmpidx = 0;
u8 result;
- if (pseudo) {
- result = Efuse_Write1ByteToFakeContent(pAdapter, addr, data);
- return result;
- }
-
/* -----------------e-fuse reg ctrl --------------------------------- */
/* address */
usb_write8(pAdapter, EFUSE_CTRL+1, (u8)(addr&0xff));