Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1783854rwe; Fri, 2 Sep 2022 03:56:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR4zpvh1QSLrucY3W3Jnlvxwn8+ZHsKv+6lhqJuaYSEB4OzYeO/gG1/vWYDu5EZwjL+uhEmM X-Received: by 2002:a17:907:3e06:b0:733:693:600e with SMTP id hp6-20020a1709073e0600b007330693600emr25368321ejc.410.1662116163271; Fri, 02 Sep 2022 03:56:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662116163; cv=none; d=google.com; s=arc-20160816; b=O3QTV0VJlBTMlnrd8OZdzotFGKRfz2Uk8fw5tX3G2bKkAr2Rwo+pbRrFRbk+T1M68n dq1lmSBnbwsOK8PcwTw+XN0gSI5tgVdpP1HvFCzNw/1QDMBWRE+uAqIKlR1MGzsksMoz r9ABWHigr+2HAE3qa0sGoXjKvngbSWt0Y2k/rGbDydYZ/VWXbRtAepkjl5RnP0/xCnX/ g5+dMOnO+YzU72z+pj8D8g7/j7lKFi+wphO5fy5SGeWOLIJr2AbeFF9Jw1n95a+DwVcq tQGeDf+fLQ/nutZN7aH3t9L9ZQhLT7CkyN2Zcln2mrZ/w5M0SuHkPsiWLC57aEW7+50t czpA== 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=I2CMut/xLnohqiOeRPhToMpVupJG8sBwirkVo5Ugtp8=; b=DEMBIlJfpvNKtJdRyeu5a/IsQL1l7qqNTEj1Q9qNlSO7n3+l/+p0dvCe7ttsJeE5wj Db19XhWcBOXrVFLhDrAx3qX1fOkXOmlfwfZ7OltbQLsFIlsP+cn3kZjWg3PxF4Axzwd0 rjVLD4A/Alr7JIcz2R1AfrT0Vjoquxtp1GBlFTi9oMVEu3mD3KzGcoKXxK0AE9rFlhot Tjg0FnGPdhzNPuc7g21+ld5fYxeelrZ42IyS/GUwWPxkLu84PkSqx/erQH393Wo5OORD 0a9AqpTFpQY7ncscM08cBOFOcJ255ch3z9Z9IZA0qV2n99o84ZGr9Hg6Zx9mOibVTseC 7/3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XPkVhpaj; 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 y17-20020a170906471100b0073ddd228877si1425755ejq.156.2022.09.02.03.55.37; Fri, 02 Sep 2022 03:56:03 -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=XPkVhpaj; 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 S235636AbiIBJx0 (ORCPT + 99 others); Fri, 2 Sep 2022 05:53:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235727AbiIBJwn (ORCPT ); Fri, 2 Sep 2022 05:52:43 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BC599D8DB for ; Fri, 2 Sep 2022 02:52:41 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id w2so2032184edc.0 for ; Fri, 02 Sep 2022 02:52:41 -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=I2CMut/xLnohqiOeRPhToMpVupJG8sBwirkVo5Ugtp8=; b=XPkVhpajSgeOl3jthw2K/4L0o4HgIOYtqKy89UewAW8VI7GJKiow4qs/dz4Hxni2MP tMBMJRJIt2LVZvILffAhp0Jvbp6lF3aVP6Xo4HqlNP5eJAlkGhfgNUuU4Q38tNCHMpHf +n1WyvQg43+bIF41LzjxefD7G46+CGaob1A0/17TgdzVq+GrYMJHiR6zRvazTIrYkny6 lN2sHhFnrG29giXrwrZxDJUCIvK7+zUddzSOdvG7/+CE8nEeRjwkG8xryAxroTU0EWok 5M+E5TX5mrlDEVQ85DHFKD3u3P1HJ2LsJ8PSge0zkAAd8vhVELM4JhftxLqio6TSuDgs nmXA== 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=I2CMut/xLnohqiOeRPhToMpVupJG8sBwirkVo5Ugtp8=; b=eHg5znWdMZaUiMAxyDApd3fuNVk/IaJ/SQd9RD1xGRcspELtkskXK1nai7imKsrCuG mweC2ueXeT9klNky6mqwz0Wlz6mIyALncU1KJWPzxlJozW2Aac5omosMEQwYU7uCRkXU WXLEGs2pDuD8JkYMPXLXUTI1DrweBFDkyX8yBaNCyXklEZmmz+QU5B+caNQ4gVdRSbRe OOqKiku7keBlKxrgBXuMc3luqpJkYWAYTGOWun5ap55rmSeqyMVaA6RI+oOuUIv/Y+ZB KuiHqj782ahhP9DV2W3/u6W/UsDPlvNf7I2LiTb/JNaj2VpRf2k72ayN19xgon2a6kG8 X4IA== X-Gm-Message-State: ACgBeo3OxKpO9sf7iJEWDazG92ILAPtym3jozD2hsqKTfDdjem3tJ8Zo diA0tlBlhEvOFIcfl8caOsQ= X-Received: by 2002:a05:6402:378f:b0:43a:d3f5:79f2 with SMTP id et15-20020a056402378f00b0043ad3f579f2mr32546430edb.338.1662112359933; 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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 02:52:39 -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 08/10] staging: rtl8723bs: remove rtw_hal_is_disable_sw_channel_plan Date: Fri, 2 Sep 2022 11:51:58 +0200 Message-Id: <4398fec06b0f8defaa7da9d6abbc155cbb7ae630.1662111799.git.namcaov@gmail.com> 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 rtw_hal_is_disable_sw_channel_plan because it is not used. Signed-off-by: Nam Cao --- drivers/staging/rtl8723bs/hal/hal_intf.c | 5 ----- drivers/staging/rtl8723bs/include/hal_intf.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_intf.c b/drivers/staging/rtl8723bs/hal/hal_intf.c index 94ecefb9113d..6bb0ff8d7c78 100644 --- a/drivers/staging/rtl8723bs/hal/hal_intf.c +++ b/drivers/staging/rtl8723bs/hal/hal_intf.c @@ -400,11 +400,6 @@ c2h_id_filter rtw_hal_c2h_id_filter_ccx(struct adapter *adapter) return adapter->HalFunc.c2h_id_filter_ccx; } -s32 rtw_hal_is_disable_sw_channel_plan(struct adapter *padapter) -{ - return GET_HAL_DATA(padapter)->bDisableSWChannelPlan; -} - s32 rtw_hal_macid_sleep(struct adapter *padapter, u32 macid) { u8 support; diff --git a/drivers/staging/rtl8723bs/include/hal_intf.h b/drivers/staging/rtl8723bs/include/hal_intf.h index 45bebbadb7ca..5cffab2d06ff 100644 --- a/drivers/staging/rtl8723bs/include/hal_intf.h +++ b/drivers/staging/rtl8723bs/include/hal_intf.h @@ -353,8 +353,6 @@ bool rtw_hal_c2h_valid(struct adapter *adapter, u8 *buf); s32 rtw_hal_c2h_handler(struct adapter *adapter, u8 *c2h_evt); c2h_id_filter rtw_hal_c2h_id_filter_ccx(struct adapter *adapter); -s32 rtw_hal_is_disable_sw_channel_plan(struct adapter *padapter); - s32 rtw_hal_macid_sleep(struct adapter *padapter, u32 macid); s32 rtw_hal_macid_wakeup(struct adapter *padapter, u32 macid); -- 2.25.1