Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2613876pxb; Sun, 17 Oct 2021 20:32:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwH/u4gXImO4FMveyitHXGuSNLwM1miEZwFOqMdk4CTeFcOzTRCB0OSytHoyCk1bEuw3jYI X-Received: by 2002:a05:6a00:14c6:b0:44d:4f03:78ff with SMTP id w6-20020a056a0014c600b0044d4f0378ffmr6287595pfu.13.1634527942846; Sun, 17 Oct 2021 20:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634527942; cv=none; d=google.com; s=arc-20160816; b=ypL+5pXX7MSCn5LrPwCt0Z8MTsCMQIXIefIkRWJCDWWk/fkz1YAh6D/nr4SH33EIXr xw3qYbRSo+vUwqueuvv9bXb7+cvIk6UvvF14dMMLDGYoN1A6SjSJgePqrhpOG+9+N+dn 6PSCqdDqxXLC3u9jng0fUDXj/u6GyjnF39uJhPDVQ8CC+oE2wHbBfkO2Jfp+bxcqLIp5 VohrB7SVCaicnVFCW0rkKT36kYRg20pPjHijJbpJKbuvDMDmmx25ehEex0X0gipmHBLQ O72/ZrHDjQT6G2u8dDWJ5FAyZvo9AJAuC+Els36iTCUxbeUDG8szwqgybW/TT5pICTjC 6Htw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=YVpDip1j3vRjw5WDtQuqw0fNLROhuqjm1S+7iv5ym8w=; b=mcyP8UpzurYKalyyUFmbTshtcseP8mSsCl0rOyo1tl7/CTiF1fsORB6QUcbl0mI2hg m/Z5eaLACXYJaXSXNW5/o4Rz4+i7llouQpiYtpyvDQsqWq1xxAhCgfRo5Fm9lSfFUZuU n3xCeE+5YojuT+13HSWrSewuRQ25V6qxuyBmxBHyp08YlX1oZMcp9pVhhoTpVLjGYXee nlPZXV9myxNrmSgrSGXgJDw5mFCgWkHHV69KxeZjDiq2D0/Iseq6HAZEBa7wxumwJO0k D2nXaXyNTE3ptPiVErChjGGgBYhCpy0nbVIxr/qk0eq79P9SBRXg/XQl2B6pYtnE7EqS w40Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CJqbEHQf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d12si26064875pjs.16.2021.10.17.20.32.11; Sun, 17 Oct 2021 20:32:22 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CJqbEHQf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240045AbhJPKKo (ORCPT + 98 others); Sat, 16 Oct 2021 06:10:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235573AbhJPKKo (ORCPT ); Sat, 16 Oct 2021 06:10:44 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DBC8C061570 for ; Sat, 16 Oct 2021 03:08:36 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id r7so30828437wrc.10 for ; Sat, 16 Oct 2021 03:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=YVpDip1j3vRjw5WDtQuqw0fNLROhuqjm1S+7iv5ym8w=; b=CJqbEHQfC/SDpz+dWJDHd9frn6eKjckDKbtQ3hcrTbtzZhwLHJJ9j7RXWLqJQrjinj JCEI07rN3LQlS8dF6j9k1Tu1kVzJPNLDcY2qro9YzsXA5ofvg+oUdQH1D3fgcdpZS2PV CdFLpO/PjRMgub5kLv+nNJ+90udKZWJrUg0t5gcvMApSTHVpbPPGPYTsdocLf3TZEFh+ 3U3qyxp6vV7qTQu7H/q1CLV2UORTtftjf61S2zcZwW/J602FwALmfhBiHwYFINxGAv7Q ETC9v4WNk95mYJraPNUoH08oVLiF97pkJcsT0E0EZYezRXiDYa5993Gs0GtASBUyz1Tv oq0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=YVpDip1j3vRjw5WDtQuqw0fNLROhuqjm1S+7iv5ym8w=; b=gmNN2J1dGIwe1BTOhHxj2DAWZNXQUk2xmWFSTduG6Gd3Lc863hGwRJS4jAxdGoAlHp R8zQz7LIrgiU4gd2Pk8/5NbAt23BXmVkAiWXAr1xEvXsTTYzVvoonCWKyRmL3CY6zzWm E424kwc60FwyU4q9qPdf9IYP1WWoHUudS/IVMtKCAY3tpN9+m/Y8CQ97QnSTcD25TvS3 SQCBoTz24DwSHiOtohXLD+2xZG1pshY/OsLFpBSNxLsSt9poZtNJmXvHK0zhAxvtHWls lw6tWPFACiIC0sOmuTzwLlgD+20NzrXFwClYmKpveVs9jfSS5hjwVZD2/mrf6wCnWaxI 745g== X-Gm-Message-State: AOAM532Dxc4T/+SZxN70fHNlMzRHDpWfSb+Z43jeXfvO0i7YIzI8BlQK 56HZamJF0n2HiftBGiKMbZU= X-Received: by 2002:adf:a45c:: with SMTP id e28mr20584956wra.347.1634378914284; Sat, 16 Oct 2021 03:08:34 -0700 (PDT) Received: from ?IPV6:2a02:8108:96c0:3b88::d7f0? ([2a02:8108:96c0:3b88::d7f0]) by smtp.gmail.com with ESMTPSA id a5sm7136618wrn.71.2021.10.16.03.08.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 Oct 2021 03:08:33 -0700 (PDT) Message-ID: <26b353c5-ba77-c446-5a8d-7f2394a795c7@gmail.com> Date: Sat, 16 Oct 2021 12:08:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH 1/7] staging: r8188eu: remove empty functions from odm.c Content-Language: en-US To: Martin Kaiser Cc: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net, phil@philpotter.co.uk, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: <20211015163507.9091-1-straube.linux@gmail.com> <20211015163507.9091-2-straube.linux@gmail.com> <20211016092949.7746u74o2f5lgyzo@viti.kaiser.cx> From: Michael Straube In-Reply-To: <20211016092949.7746u74o2f5lgyzo@viti.kaiser.cx> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/16/21 11:29, Martin Kaiser wrote: > 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 > Thank you for your review Martin. I'll send follow up patches to remove this and other now unused variables I missed. Thanks again, Michael