Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1742681rwe; Fri, 2 Sep 2022 03:07:11 -0700 (PDT) X-Google-Smtp-Source: AA6agR42Pe2OMBmVbZFn9US2bWZk3fSB5hm8hvrfIZeqY43OTqJSLo/UJAlwTTUx2tSlvhzgUN89 X-Received: by 2002:a63:2582:0:b0:42b:aacc:807f with SMTP id l124-20020a632582000000b0042baacc807fmr23992149pgl.120.1662113231357; Fri, 02 Sep 2022 03:07:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662113231; cv=none; d=google.com; s=arc-20160816; b=LSjP9NIEyHCsPoSkBO1LsTlsfbPj7wocDtB2xPvWawQBMqt/fd9cXvuHNpNVq78iqq FRnBn1tvrFomNypOGrIbhnGJTwbi50O1RXHD1DWG23aBZWkMdxE0HSmlRe9xjsDkLRO8 NgEVXTLLys+lZ1vlCnfwDlEmCbFn2woRzwPeqGiDjCig0u8EGGEXg5HxNZWPa0sqhm+u uePAL1X8jMVBK70CPr79RO1o3NXXrb3v4+fBulWQWosCkBMJmqPgPBA7bcWuzIiIXlLy xrk98QR9jhdaDAK/bX9AqHA3NBZOP6pbDOSEAre01KERT2VQKQj5A0XUgxvUyq/Nn6p8 gRMw== 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=XufPAMebi+TQKK75DKApzVpkJqGpncDvct45lHXgg7c=; b=KAxH/EmvgheaNl61oJYH+WqJKPrBK2JfLlLuEcPQtoHEkRpnIOu2MPzGKkx4mvdscA y+42Hfrdaa1b8BXJStEFuvkL20INu1mK6kxH31clCH+HeW2pZqmuH1BKghVM8IMzJNAX WvTSQlUTLAf57jaNRPV3/Xz/EhilWW/S+2pWaIud5atkM9mpd40P4SLkwxTBy8nrjEuW ujUyGarrqvcdF5WtYFKsJfwQ2ix7AnVgEmn7ZLMQt5ZoT+DuIe5hZz0eK8JBfnZU4ykV 0v8DVIVa1tg0v4D87FbBw3Ll/Ui8PumLNzdTd1WaCOftUCnXQ8WLszu+RlvQCV2EyaiV uMGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VSAW1KYw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l20-20020a170903005400b0017524eb62d1si1508329pla.25.2022.09.02.03.06.59; Fri, 02 Sep 2022 03:07:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VSAW1KYw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S235886AbiIBJxV (ORCPT + 99 others); Fri, 2 Sep 2022 05:53:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235529AbiIBJwn (ORCPT ); Fri, 2 Sep 2022 05:52:43 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC6C3CEB34 for ; Fri, 2 Sep 2022 02:52:40 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id s11so1909610edd.13 for ; Fri, 02 Sep 2022 02:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=XufPAMebi+TQKK75DKApzVpkJqGpncDvct45lHXgg7c=; b=VSAW1KYwHOYPot9JTY8QLTMtsYCkAkx+nRTw7kEwhLX56cvbty0VZVK4dqqevFGhXk jlrEts/mFkoVzDH/Lr44Z13J4pj1LfGeLG/WAiG4w2cFSbhBe0l3XwEbm3+ORZkhHLEJ IF819CSDWTV3isxNAj2NbPUKyKFq4hsns7pvaHxtbikzEArsczys8uLIjvN7bIDY8Dn4 Z3LThqa/GRajG+E8OOGyVLuOPTvBM2rilQUnVcFFCUpXGr/tgzHejy3Ighfj46QXYOhz TiciQxs9DQVyf/RTESEHJkiK2BQKjgpg55Q9fy/zdNB3uue6a10sMJUIJx7ZBrqTncqC gjTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=XufPAMebi+TQKK75DKApzVpkJqGpncDvct45lHXgg7c=; b=UdREEjUapC4yyVH1fkpt2by/ezMo5OJfvf09ygKUCnDsrafy1w2VsZeBqojfZWwaaJ GHs7MttoP/nVdcWWmLTG5sAYw3P/bGlI0wJAk3PVnPt81dnprPQJKthxbMlxsfWNtslF 9qDC4dNWRaCMyjUdcmtAFugfHWm5wgf436izs/wUznUkVh2ip3Agh3MC5g6lV+TtKWS4 5XyaJTZfbIOPFm0ZRMfKwwl5P8Mf7PLdiiCEAD9t/lIdxE7yKj1vEVoWD9Hql28/Ipal Qsk1p5QygwvN681DEXqXZzWIQbbheXQfB+2u5+4YZRpy3+aHSyfUd0Rx9TWifAfUgPT/ Fsvw== X-Gm-Message-State: ACgBeo1JRkNXwDtatN/P5kim4YmVi0Z9XevLzJmhYku1Hmu2PP6AFF9H WWapGoArQXniOp2AYThAQOk= X-Received: by 2002:a50:fc97:0:b0:449:1fd1:25ea with SMTP id f23-20020a50fc97000000b004491fd125eamr9397623edq.301.1662112359059; Fri, 02 Sep 2022 02:52:39 -0700 (PDT) Received: from localhost.localdomain (ip-217-105-46-83.ip.prioritytelecom.net. [217.105.46.83]) by smtp.gmail.com with ESMTPSA id h6-20020a170906828600b0073d6234ceebsm959601ejx.160.2022.09.02.02.52.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 02:52:38 -0700 (PDT) From: Nam Cao To: Larry.Finger@lwfinger.net, gregkh@linuxfoundation.org, hdegoede@redhat.com Cc: namcaov@gmail.com, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH 07/10] staging: rtl8723bs: remove hal_btcoex_SetManualControl Date: Fri, 2 Sep 2022 11:51:57 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove function hal_btcoex_SetManualControl because it is not used. Signed-off-by: Nam Cao --- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 5 ----- drivers/staging/rtl8723bs/include/hal_btcoex.h | 1 - 2 files changed, 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_btcoex.c b/drivers/staging/rtl8723bs/hal/hal_btcoex.c index 9acd49323c7c..e36f8c369a04 100644 --- a/drivers/staging/rtl8723bs/hal/hal_btcoex.c +++ b/drivers/staging/rtl8723bs/hal/hal_btcoex.c @@ -1283,11 +1283,6 @@ s32 hal_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter) return (s32)GLBtCoexist.btInfo.bBtCtrlAggBufSize; } -void hal_btcoex_SetManualControl(struct adapter *padapter, u8 bmanual) -{ - GLBtCoexist.bManualControl = bmanual; -} - bool hal_btcoex_IsBtControlLps(struct adapter *padapter) { if (!hal_btcoex_IsBtExist(padapter)) diff --git a/drivers/staging/rtl8723bs/include/hal_btcoex.h b/drivers/staging/rtl8723bs/include/hal_btcoex.h index 78599d3521bf..fb167642da01 100644 --- a/drivers/staging/rtl8723bs/include/hal_btcoex.h +++ b/drivers/staging/rtl8723bs/include/hal_btcoex.h @@ -45,7 +45,6 @@ void hal_btcoex_HaltNotify(struct adapter *padapter); void hal_btcoex_Handler(struct adapter *padapter); s32 hal_btcoex_IsBTCoexCtrlAMPDUSize(struct adapter *padapter); -void hal_btcoex_SetManualControl(struct adapter *padapter, u8 bmanual); bool hal_btcoex_IsBtControlLps(struct adapter *padapter); bool hal_btcoex_IsLpsOn(struct adapter *padapter); u8 hal_btcoex_RpwmVal(struct adapter *); -- 2.25.1