mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 15:55:28 -04:00
staging: r8188eu: remove ODM_CMNINFO_ABILITY from ODM_CmnInfoInit()
ODM_CmnInfoInit() is never called with ODM_CMNINFO_ABILITY. Remove that unused case from ODM_CmnInfoInit(). Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20211228101120.9120-5-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b01b5c1021
commit
f795060dd4
@@ -195,9 +195,6 @@ void ODM_CmnInfoInit(struct odm_dm_struct *pDM_Odm, enum odm_common_info_def Cmn
|
||||
/* This section is used for init value */
|
||||
switch (CmnInfo) {
|
||||
/* Fixed ODM value. */
|
||||
case ODM_CMNINFO_ABILITY:
|
||||
pDM_Odm->SupportAbility = (u32)Value;
|
||||
break;
|
||||
case ODM_CMNINFO_MP_TEST_CHIP:
|
||||
pDM_Odm->bIsMPChip = (u8)Value;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user