Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2614507pxb; Sun, 17 Oct 2021 20:33:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXfeGaZX6BoiOtf/ZKRJB/vLlHwEyI3bqSULlGI5f9IPptPBw0lRpjlkiDuA0cp9MZeY0S X-Received: by 2002:a17:906:5a47:: with SMTP id my7mr25626397ejc.128.1634528020213; Sun, 17 Oct 2021 20:33:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634528020; cv=none; d=google.com; s=arc-20160816; b=yJCYxc7YeTmIBgo2UFxDQbsJSPJ74VtSlE28eWrjeLc4F0qAjSEUPZ5BVe0tBRBMFM Ti3kvbsye5X1ThsxrvBzncfZmwHnAloqLjttW8uVyCe4gb3dHDM8c6VXC5O3mtlBxjQm lI129yO3WHeexucC3Cp9ixNxrKUHpstB7pVhi3WF3B32pR2lVgh4z9U7Rx4WDCLAGAA5 PHZpIvp/imw5H4bOTH30dUnnZ4sJizSS6LLd35T82qZ0pTRiCSIfw4FeY0FPoO+a0lpx 9D2rtFelcnM4x1TmeizGAR9D/+u0j7mBWUW2C718/xVeuJa+EYoUx0Tx6zi6El8fj2R8 o6Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=OJrm5eRASeTa+XKeWbeMfIt5GqFla/7P4/pIxNQkBi8=; b=lmkl43Iyg9ZXtaq4A/G6EHg78wUEG2qpdtfsFN62zf2/n//kGfAtNqIxfyP1eB8O/e 17fdSh6EySdDVBHOr7L/kVR0QOFnWmrNtnHANWLtkBs9EaNQSIRoIeJnfpnKgLII81I0 35j5pPo6np2/hbryf6e9+sPqvBmn8kEh764Zvr9S91GQ7uEG0IBWDCatsl8+n4DWalkv U2p3FYPhlhjYjRSKTXtsj9Xsz583y5yrwee1f5spdSiz8CDxk07fWEFwwILKAsITxhtT sVr1gm+zIYweSgnUUqS6fQTBAFPHB2/DAYlsRnkP2XMwW0rZRIVrYt3sn+RsMTZKakEf 9Npw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kx3si20513869ejc.108.2021.10.17.20.33.16; Sun, 17 Oct 2021 20:33:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243921AbhJPJeq (ORCPT + 98 others); Sat, 16 Oct 2021 05:34:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235331AbhJPJeq (ORCPT ); Sat, 16 Oct 2021 05:34:46 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56436C061570 for ; Sat, 16 Oct 2021 02:32:38 -0700 (PDT) Received: from martin by viti.kaiser.cx with local (Exim 4.89) (envelope-from ) id 1mbg3O-00031m-A5; Sat, 16 Oct 2021 11:32:34 +0200 Date: Sat, 16 Oct 2021 11:32:34 +0200 From: Martin Kaiser To: Michael Straube Cc: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net, phil@philpotter.co.uk, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/7] staging: r8188eu: remove ODM_SingleDualAntennaDefaultSetting() Message-ID: <20211016093234.dojgrummv3pmj23c@viti.kaiser.cx> References: <20211015163507.9091-1-straube.linux@gmail.com> <20211015163507.9091-3-straube.linux@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211015163507.9091-3-straube.linux@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: Martin Kaiser Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thus wrote Michael Straube (straube.linux@gmail.com): > Function ODM_SingleDualAntennaDefaultSetting() is not used, > remove it. > Signed-off-by: Michael Straube > --- > 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.