Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2614016pxb; Sun, 17 Oct 2021 20:32:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlHy6sesfJu3s4jFCOiXSZ4oxygbVJZez9Ac/NIrxSlhsSTx8STuxzY4SaxKuWjAzkYZ8Z X-Received: by 2002:a17:90b:4b03:: with SMTP id lx3mr29989783pjb.162.1634527958054; Sun, 17 Oct 2021 20:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634527958; cv=none; d=google.com; s=arc-20160816; b=TKPYxNH8e8gf41epCFa6XUtw7E6D3OAwOixbKcOQEGt4CBfedhIpGcn+FRQEqwjVc0 YfBXVgIrdZOyFZjtt1toQ+ZFPN08ePjtj96OdjLJpvmBAzm8cwGl3MeAElIoy4V1g8qW 5ZZTb+PfRVJSsSJMR+XgLZFBLUsUFaV66msNtzRVDLNg0bWi361lLgNHxjYqDULJSCot Mz9Fsl1KTwDlwQBr0rgWum7KqlQEE48l6AV9Cy1kkm4gBWwpsYOJKo8GR4mYvejTMQMG Q8Dwx0HXiWyS8X9wBCZKSTEYResKGQi5rStis5zKpiyZ8FpOtm30QsCAQxWRNbcVpFUB W+ng== 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=j37k9CZILYeG2OGFxDTAcMmqNmunn24ILIUo9kg6Z6s=; b=CXW4SdzqPEMvk7xu19RiZFwjMG+ZVMWRn0CYuYAe+iGr2/ZKygGGDS+GKxASeQZYph NRnl8mL1w4dsJH1LydyN1rzNkQKIaYuAxFGRTReKvsBvvebvOdkxTLZSrwTJRzBu84rD mZww9DVu8cSzzdzlC2O0yVdLIucAa0mW//PBIZYRK4iJhmELnsUKx2oEVhDhFOvlLWOp KdA5oU3/NCUb7ULjKUIYUqNFdnJWKO6ntlbxjUs4/cjGiQN8UI1pqkRLRSTLxNxQj+8C ps36HZ5HTR8OxwH2y9oZBgkE6nWtnjiPAKtBaQgo7JxN7C/uDUzFdcY5v0vRMYaiI6aR expQ== 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 y4si39113pfq.244.2021.10.17.20.32.26; Sun, 17 Oct 2021 20:32:38 -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 S243923AbhJPJcM (ORCPT + 98 others); Sat, 16 Oct 2021 05:32:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235334AbhJPJcE (ORCPT ); Sat, 16 Oct 2021 05:32:04 -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 AE800C061570 for ; Sat, 16 Oct 2021 02:29:56 -0700 (PDT) Received: from martin by viti.kaiser.cx with local (Exim 4.89) (envelope-from ) id 1mbg0j-0002zW-EL; Sat, 16 Oct 2021 11:29:49 +0200 Date: Sat, 16 Oct 2021 11:29:49 +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 1/7] staging: r8188eu: remove empty functions from odm.c Message-ID: <20211016092949.7746u74o2f5lgyzo@viti.kaiser.cx> References: <20211015163507.9091-1-straube.linux@gmail.com> <20211015163507.9091-2-straube.linux@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211015163507.9091-2-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): > Remove empty functions from odm.c. > Signed-off-by: Michael Straube > --- > drivers/staging/r8188eu/hal/odm.c | 32 ------------------- > drivers/staging/r8188eu/hal/odm_HWConfig.c | 7 +--- > drivers/staging/r8188eu/include/odm.h | 7 ---- > drivers/staging/r8188eu/include/odm_precomp.h | 2 -- > 4 files changed, 1 insertion(+), 47 deletions(-) > diff --git a/drivers/staging/r8188eu/hal/odm.c b/drivers/staging/r8188eu/hal/odm.c > index 2178ffe41bb3..627213392795 100644 > --- a/drivers/staging/r8188eu/hal/odm.c > +++ b/drivers/staging/r8188eu/hal/odm.c > @@ -196,13 +196,9 @@ void ODM_DMWatchdog(struct odm_dm_struct *pDM_Odm) > (pDM_Odm->AntDivType == CGCS_RX_HW_ANTDIV) || > (pDM_Odm->AntDivType == CG_TRX_SMART_ANTDIV)) > odm_HwAntDiv(pDM_Odm); > - else if (pDM_Odm->AntDivType == CGCS_RX_SW_ANTDIV) > - odm_SwAntDivChkAntSwitch(pDM_Odm, SWAW_STEP_PEAK); This was the last user of SWAW_STEP_PEAK. The define can be removed now (maybe in a follow-up patch). Acked-by: Martin Kaiser