Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp397733pxy; Fri, 30 Apr 2021 07:45:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5k7t6Kwnu6cntBJjonaBXpLjHLQZ5tESRLZbae6XpOjtJ7KPTY5sOB8MdKI77D0/XB8q7 X-Received: by 2002:a17:902:104:b029:ec:9fa6:c08 with SMTP id 4-20020a1709020104b02900ec9fa60c08mr5735178plb.10.1619793937465; Fri, 30 Apr 2021 07:45:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619793937; cv=none; d=google.com; s=arc-20160816; b=LUE/6IAl6eLbi3eieoyvOTEu7mOMPmMpkVzaQ2ylxhcc0Chk8M0+Vz5WvclJJIcGfP crqtQpIN7E6h+8a81d7thvdx90Cfmo1KcNAdLhW1C4AwuEnq0pXCoA4oPgZ/aKhGhaMW DWlRszNvYz6/mIoxb3O4LuNbZTwXkzCN7VbcYVFVzopbM3lr4maZqiifXPtmPiEX3j/J /O4ac2pcAgQL9RCxbliroyvLruBU/jRaVPc1wYuKYmdh+26w4Bo//8LplcaHSHsfgmd6 yupGNVXdI14yb4qoObZj1FljehQXd4/fR51tnulHS48jEjRFew6c90B+F+J3ZFgQp1AT L5bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NRDjGF5wjUwRiaPQw2H+cRKReTA8UwpiAU5+UbMDALU=; b=a3gqrGKezr1A0Z4lS2H5HEnlXSPLqHQ3sTK96uF2OBNyFCKsJwLV0LIvVgHUEf5Nqa +bMmtP/9kDUo0urtHwKKomQZ1Aw1s8K64xHOHmCnsuy7yQhSb3s4kdkFBbM51/ZvK2FH HJRzZoPK0uO+2uWYLU1ER3qk1szIHOVHiiDoxML/Ta1XRmJ/RSWe9cNhKSX0sTQu6612 eUup9+VfGbnmqAPI1T5RYNJtYBx5Kad/Jzj3OdWHE5Z/mAZclLrK5tQN7zGEDEXN6bvR G8fALV+SSldV47LmcSMiQo1soYHj2V+byjw+skc8f9ITOUkUUOZ5Bpw5Ts3fKRb5kw+U Jf+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XXxZS+Z7; 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 21si2411264pfp.177.2021.04.30.07.45.22; Fri, 30 Apr 2021 07:45:37 -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=20161025 header.b=XXxZS+Z7; 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 S233070AbhD3OpN (ORCPT + 99 others); Fri, 30 Apr 2021 10:45:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233018AbhD3OpJ (ORCPT ); Fri, 30 Apr 2021 10:45:09 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B17EC06174A for ; Fri, 30 Apr 2021 07:44:21 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id r12so105635688ejr.5 for ; Fri, 30 Apr 2021 07:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NRDjGF5wjUwRiaPQw2H+cRKReTA8UwpiAU5+UbMDALU=; b=XXxZS+Z7Ypr9xzn70/A9s61xGFF3f+eaDxkfhnGgVDxqkW8v/wn2f3r5J9PPnnKIWe UwXw+pS8MIw1HfzCzUiNmPppaan8H8wCyhirfqjkcUJtBeU9mZN+GUF8oAvRwvbLWexI V45OuxGkd/oi519sqvm4uiV+RETXTU+4gyLXtiFFDw3AEvTS3aL7hEdjJSqZrVPLetNr niE31dU8zV04h1v9yEryL7BPuWY9v2FLUr9UxUoZpNEcB+p4rXqsAKMhjHrQRMtdh/E7 iDHAb8/rItc30eaT94MNS00mAte28YOFAt68/atORqe6V23E5vqo69+/2ZaXpr/pSvJb WIcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NRDjGF5wjUwRiaPQw2H+cRKReTA8UwpiAU5+UbMDALU=; b=RlJYgnO26kyAhSXqhRW5oZTf+rx0slRwqSPbev4DUM/qkSb2LOGodX5Fn5cVpVCoCu e161RIY9Wy0U8SUOvKqc/+MbIPV2Q7AbS2GkF+qTvOLC3/W6hUzgQP1Z14NL1HrgX5Zz B92AM7Wd36x3gCnCb5UKs9ne8lY+7AkqtDDW3jl9/yapEjA2NlvppcSdMPwZDw/TqWfh D+ItgqpjhTqm1EsBBpeZ4IJ+pTWGKC0MWeyr/yg6q03E5c5e9yfw7R80jfFHSeWO1IEV 6bM5yHowskpjgd/yOhdXK8bA/NnAERFsZgpXoyAbe1i07fEK098sHQLsbRzXzfLqa3Qf YxQw== X-Gm-Message-State: AOAM533sLivZQ2Ujh5COW7YN43e3UvAKWEsJJHll3hEIwDP45qUyXGyk HHZEIL/EhgZlEzwQ90FW6t14mNiBkAU= X-Received: by 2002:a17:906:3544:: with SMTP id s4mr4804801eja.73.1619793859816; Fri, 30 Apr 2021 07:44:19 -0700 (PDT) Received: from agape ([109.52.244.36]) by smtp.gmail.com with ESMTPSA id l7sm2201099ejk.115.2021.04.30.07.44.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 07:44:19 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 03/43] staging: rtl8723bs: remove empty functions Date: Fri, 30 Apr 2021 16:43:33 +0200 Message-Id: <1430232d3b907ee4d286cc495429230a0dd4dce2.1619793405.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove functions left empty after ODM_RT_TRACE deletion. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/odm.c | 4 ---- drivers/staging/rtl8723bs/hal/odm_PathDiv.c | 7 ------- 2 files changed, 11 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm.c b/drivers/staging/rtl8723bs/hal/odm.c index a9f8d6a4a62c..73068a1681a9 100644 --- a/drivers/staging/rtl8723bs/hal/odm.c +++ b/drivers/staging/rtl8723bs/hal/odm.c @@ -807,9 +807,6 @@ void ODM_DMInit(struct dm_odm_t *pDM_Odm) ODM_ClearTxPowerTrackingState(pDM_Odm); - if (*(pDM_Odm->mp_mode) != 1) - odm_PathDiversityInit(pDM_Odm); - odm_DynamicBBPowerSavingInit(pDM_Odm); odm_DynamicTxPowerInit(pDM_Odm); @@ -857,7 +854,6 @@ void ODM_DMWatchdog(struct dm_odm_t *pDM_Odm) odm_RefreshRateAdaptiveMask(pDM_Odm); odm_EdcaTurboCheck(pDM_Odm); - odm_PathDiversity(pDM_Odm); ODM_CfoTracking(pDM_Odm); ODM_TXPowerTrackingCheck(pDM_Odm); diff --git a/drivers/staging/rtl8723bs/hal/odm_PathDiv.c b/drivers/staging/rtl8723bs/hal/odm_PathDiv.c index bedce2c10b22..1a2e367bb306 100644 --- a/drivers/staging/rtl8723bs/hal/odm_PathDiv.c +++ b/drivers/staging/rtl8723bs/hal/odm_PathDiv.c @@ -7,10 +7,3 @@ #include "odm_precomp.h" -void odm_PathDiversityInit(void *pDM_VOID) -{ -} - -void odm_PathDiversity(void *pDM_VOID) -{ -} -- 2.20.1