@@ -1365,35 +1365,6 @@ static u8 hal_EfusePgPacketWriteData(
1365
1365
return true;
1366
1366
}
1367
1367
1368
- static s32 Hal_EfusePgPacketWrite (
1369
- struct adapter * padapter ,
1370
- u8 offset ,
1371
- u8 word_en ,
1372
- u8 * pData ,
1373
- bool bPseudoTest
1374
- )
1375
- {
1376
- struct pgpkt_struct targetPkt ;
1377
- u16 startAddr = 0 ;
1378
- u8 efuseType = EFUSE_WIFI ;
1379
-
1380
- if (!hal_EfusePgCheckAvailableAddr (padapter , efuseType , bPseudoTest ))
1381
- return false;
1382
-
1383
- hal_EfuseConstructPGPkt (offset , word_en , pData , & targetPkt );
1384
-
1385
- if (!hal_EfusePartialWriteCheck (padapter , efuseType , & startAddr , & targetPkt , bPseudoTest ))
1386
- return false;
1387
-
1388
- if (!hal_EfusePgPacketWriteHeader (padapter , efuseType , & startAddr , & targetPkt , bPseudoTest ))
1389
- return false;
1390
-
1391
- if (!hal_EfusePgPacketWriteData (padapter , efuseType , & startAddr , & targetPkt , bPseudoTest ))
1392
- return false;
1393
-
1394
- return true;
1395
- }
1396
-
1397
1368
static bool Hal_EfusePgPacketWrite_BT (
1398
1369
struct adapter * padapter ,
1399
1370
u8 offset ,
@@ -1673,7 +1644,6 @@ void UpdateHalRAMask8723B(struct adapter *padapter, u32 mac_id, u8 rssi_level)
1673
1644
void rtl8723b_set_hal_ops (struct hal_ops * pHalFunc )
1674
1645
{
1675
1646
/* Efuse related function */
1676
- pHalFunc -> Efuse_PgPacketWrite = & Hal_EfusePgPacketWrite ;
1677
1647
pHalFunc -> Efuse_WordEnableDataWrite = & Hal_EfuseWordEnableDataWrite ;
1678
1648
pHalFunc -> Efuse_PgPacketWrite_BT = & Hal_EfusePgPacketWrite_BT ;
1679
1649
0 commit comments