From: Michael Straube Date: Tue, 28 Dec 2021 10:11:14 +0000 (+0100) Subject: staging: r8188eu: remove ODM_CMNINFO_ABILITY from ODM_CmnInfoInit() X-Git-Tag: v6.1-rc5~2247^2~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f795060dd42dcfb64ebbb5b9b9cb41982060441b;p=platform%2Fkernel%2Flinux-starfive.git 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 Link: https://lore.kernel.org/r/20211228101120.9120-5-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/hal/odm.c b/drivers/staging/r8188eu/hal/odm.c index a820bdc..afd208c 100644 --- a/drivers/staging/r8188eu/hal/odm.c +++ b/drivers/staging/r8188eu/hal/odm.c @@ -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;