[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211016093234.dojgrummv3pmj23c@viti.kaiser.cx>
Date: Sat, 16 Oct 2021 11:32:34 +0200
From: Martin Kaiser <lists@...ser.cx>
To: Michael Straube <straube.linux@...il.com>
Cc: gregkh@...uxfoundation.org, Larry.Finger@...inger.net,
phil@...lpotter.co.uk, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/7] staging: r8188eu: remove
ODM_SingleDualAntennaDefaultSetting()
Thus wrote Michael Straube (straube.linux@...il.com):
> Function ODM_SingleDualAntennaDefaultSetting() is not used,
> remove it.
> Signed-off-by: Michael Straube <straube.linux@...il.com>
> ---
> drivers/staging/r8188eu/hal/odm.c | 11 -----------
> drivers/staging/r8188eu/include/odm.h | 2 --
> 2 files changed, 13 deletions(-)
> diff --git a/drivers/staging/r8188eu/hal/odm.c b/drivers/staging/r8188eu/hal/odm.c
> index 627213392795..030bc7bd9905 100644
> --- a/drivers/staging/r8188eu/hal/odm.c
> +++ b/drivers/staging/r8188eu/hal/odm.c
> @@ -1190,14 +1190,3 @@ u32 ConvertTo_dB(u32 Value)
> return dB;
> }
> -
> -/* Description: */
> -/* Set Single/Dual Antenna default setting for products that do not do detection in advance. */
> -/* Added by Joseph, 2012.03.22 */
> -void ODM_SingleDualAntennaDefaultSetting(struct odm_dm_struct *pDM_Odm)
> -{
> - struct sw_ant_switch *pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table;
> -
> - pDM_SWAT_Table->ANTA_ON = true;
> - pDM_SWAT_Table->ANTB_ON = true;
ANTA_ON and ANTB_ON can now be removed from struct sw_ant_switch.
Powered by blists - more mailing lists