Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp91216pxy; Fri, 30 Apr 2021 00:46:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFdGJCcZP/8u64Zdzs1eZABKcW9kO3Qb0UvCcpqEQBjU/2GzE/3l8fr5TGJstTTNLqe6Au X-Received: by 2002:a62:ce4a:0:b029:261:aa4e:a03c with SMTP id y71-20020a62ce4a0000b0290261aa4ea03cmr4094559pfg.19.1619768760797; Fri, 30 Apr 2021 00:46:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619768760; cv=none; d=google.com; s=arc-20160816; b=IPgbWqAwobkRVxxi5tSWhqOWJQt4m0CfOZpMXtk7/P+47Ii2ozlruw0d4D3oWWL8Gv sfmRFWyq8JpNGIm9hklvbpXrsNxXvlhsQGPXeRV8DJNgpHKV7XN+Mra9SHYXyUthRJ0s KeHUft6O4M0NqyBO3oaW7TsNyHGbwc3sw+pJ4Sms3eZROi5mRYdI6pO/Y6yE1KAqKMPM Y9MgqBMW2MBaVfML3Mz+oQOs5WxKPMCN4KnUxXilTBBmyN5mLprr9IeSw2dHEKkGT6UH TNI+7sa1TYbhc17Xa0kPRSHMYaWG5HnxeBtVw/P4vBCWgHEqcVPz7I3/yk/jIR/qio+v zmfg== 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=0eIIG+K93YBnDDj1nQ4Sp6lzw6lirkT0CFnp+blaqFAYmjtih64hic4kFFvAMPHt98 MWPTLoeHP7iK6qLeqF9eb1cZhwy3FJuzDsFLk5rmHayQ29DJ0UDCMymNm14fKi0/wzmF gpUWj8txLcZW26tbk5qZ6IOYngFHvaurT1azOT2nlrjM7NEAisXlGGqmy7LQGnzby7KJ h20USrTPhu11nS8RGX3gLXBAE3604rPSbCCFpiIf07N1piIyjUuPBFQqnOsZdHtxiWne NirzjVV7fdzL2cmQmaCIKpQBRXZlZs2KlmMg2IbJDEKy+LyxqnbyyITR+jH1hK4JUVJq 9VZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hZfi9rYG; 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 l8si2512368pgp.468.2021.04.30.00.45.22; Fri, 30 Apr 2021 00:46:00 -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=hZfi9rYG; 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 S231152AbhD3HpG (ORCPT + 99 others); Fri, 30 Apr 2021 03:45:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230433AbhD3Ho7 (ORCPT ); Fri, 30 Apr 2021 03:44:59 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 245D1C06138B for ; Fri, 30 Apr 2021 00:44:11 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id r12so103834771ejr.5 for ; Fri, 30 Apr 2021 00:44:11 -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=hZfi9rYGI+nQ2waZXjTb6RNKNbcx6EmpoMwJ6Gjgx2XHJ91AZGF3q1xQqhOT/ug3d5 tOsQAWYkSlMpmfPf1Oe1yq6Z+vyxOVM+A5nQdxNvd+7esNSNIjBPc5Uak9eOSjyT9A5k Kwl50WtNJXjGHZhFcLV52sRg/heeGWrSkiv12Q05YkWET+mBTvKBhC1UsFGupyBM/16z t9G3yMpM1SUla8ll9suTOU495SoHn5GCz97jdHJwDby90QVczdkXrbz7OaUuGs++dyA6 NFhonIriLLJCPl3fOolNAr/4lXvZVQMg4f/bk3bMrzXSdv7aSeS025TLz6Th5d0wymMS 8moQ== 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=WftYfTVkCddSyhNXeXZFfiPJFL6z8L9bRtOEuGB9z5mH9pKDXBuyl1BC8XL27P2nyG Y/5RunvztxDhUGu28kFlPrdfn+Cf1qE8TPBvdMFHGYe48ol+zA7Qvx2k6rYe3fcBZcQy SjukMpvXrKrOdqURSCKhT4jEP+SX9CUg2ww3CN9ed2ro8PpCcw8ZSWY6bOp/QDuLtX4M G4Vci9lZgNVlKohtAjYKRi2Mz9Fzj1qaRgZgaJL8t88lRwTUJa+NMTuy6uYpxbK6UOPS yj+NuvnQslU6DJPc4YMVAdNbtG3+aCmlkM7qP1QGsxcThS0mQl5Q7Gj15SzI6x9V0hRv Kpiw== X-Gm-Message-State: AOAM532Jslx3c4r8OxVXJlqdk7Fwg7XrkaJwRSbxMYBUEG5EDy/i8ELb LvCWcuMCCdb7/9SKOJAzA0TxwaVDBj0gjQ== X-Received: by 2002:a17:906:fa81:: with SMTP id lt1mr351308ejb.277.1619768649574; Fri, 30 Apr 2021 00:44:09 -0700 (PDT) Received: from agape ([5.171.81.86]) by smtp.gmail.com with ESMTPSA id z14sm628725edc.62.2021.04.30.00.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 00:44:09 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 03/43] staging: rtl8723bs: remove empty functions Date: Fri, 30 Apr 2021 09:43:21 +0200 Message-Id: <1430232d3b907ee4d286cc495429230a0dd4dce2.1619768150.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