Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8188eu: remove EFUSE_GetEfuseDefinition function

This function does not used.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ivan Safonov and committed by
Greg Kroah-Hartman
9de204cd 054bf87c

-65
-63
drivers/staging/rtl8188eu/core/rtw_efuse.c
··· 317 317 } 318 318 } 319 319 320 - /* Do not support BT */ 321 - void EFUSE_GetEfuseDefinition(struct adapter *pAdapter, u8 efuseType, u8 type, void *pOut) 322 - { 323 - switch (type) { 324 - case TYPE_EFUSE_MAX_SECTION: 325 - { 326 - u8 *pMax_section; 327 - pMax_section = pOut; 328 - *pMax_section = EFUSE_MAX_SECTION_88E; 329 - } 330 - break; 331 - case TYPE_EFUSE_REAL_CONTENT_LEN: 332 - { 333 - u16 *pu2Tmp; 334 - pu2Tmp = pOut; 335 - *pu2Tmp = EFUSE_REAL_CONTENT_LEN_88E; 336 - } 337 - break; 338 - case TYPE_EFUSE_CONTENT_LEN_BANK: 339 - { 340 - u16 *pu2Tmp; 341 - pu2Tmp = pOut; 342 - *pu2Tmp = EFUSE_REAL_CONTENT_LEN_88E; 343 - } 344 - break; 345 - case TYPE_AVAILABLE_EFUSE_BYTES_BANK: 346 - { 347 - u16 *pu2Tmp; 348 - pu2Tmp = pOut; 349 - *pu2Tmp = (u16)(EFUSE_REAL_CONTENT_LEN_88E-EFUSE_OOB_PROTECT_BYTES_88E); 350 - } 351 - break; 352 - case TYPE_AVAILABLE_EFUSE_BYTES_TOTAL: 353 - { 354 - u16 *pu2Tmp; 355 - pu2Tmp = pOut; 356 - *pu2Tmp = (u16)(EFUSE_REAL_CONTENT_LEN_88E-EFUSE_OOB_PROTECT_BYTES_88E); 357 - } 358 - break; 359 - case TYPE_EFUSE_MAP_LEN: 360 - { 361 - u16 *pu2Tmp; 362 - pu2Tmp = pOut; 363 - *pu2Tmp = (u16)EFUSE_MAP_LEN_88E; 364 - } 365 - break; 366 - case TYPE_EFUSE_PROTECT_BYTES_BANK: 367 - { 368 - u8 *pu1Tmp; 369 - pu1Tmp = pOut; 370 - *pu1Tmp = (u8)(EFUSE_OOB_PROTECT_BYTES_88E); 371 - } 372 - break; 373 - default: 374 - { 375 - u8 *pu1Tmp; 376 - pu1Tmp = pOut; 377 - *pu1Tmp = 0; 378 - } 379 - break; 380 - } 381 - } 382 - 383 320 u8 Efuse_WordEnableDataWrite(struct adapter *pAdapter, u16 efuse_addr, u8 word_en, u8 *data) 384 321 { 385 322 u16 tmpaddr = 0;
-2
drivers/staging/rtl8188eu/include/rtw_efuse.h
··· 95 95 }; 96 96 97 97 u8 Efuse_CalculateWordCnts(u8 word_en); 98 - void EFUSE_GetEfuseDefinition(struct adapter *adapt, u8 type, u8 type1, 99 - void *out); 100 98 u8 efuse_OneByteRead(struct adapter *adapter, u16 addr, u8 *data); 101 99 u8 efuse_OneByteWrite(struct adapter *adapter, u16 addr, u8 data); 102 100