From patchwork Fri Jun 2 21:27:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9763529 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 777AF60360 for ; Fri, 2 Jun 2017 21:28:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6ABA328599 for ; Fri, 2 Jun 2017 21:28:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F596285D9; Fri, 2 Jun 2017 21:28:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID, URIBL_BLACK autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4BBCC28599 for ; Fri, 2 Jun 2017 21:28:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751290AbdFBV2O (ORCPT ); Fri, 2 Jun 2017 17:28:14 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:33921 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751267AbdFBV2K (ORCPT ); Fri, 2 Jun 2017 17:28:10 -0400 Received: by mail-oi0-f65.google.com with SMTP id d99so2085877oic.1 for ; Fri, 02 Jun 2017 14:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=XYHfGhj7R8mFiuqPwlbVa+pNXegHbtos/TV9DEm8Gz8=; b=AYIhjJknwBaYxYiXIRXugOWUUsi2bry4p4QyPFMwqhhvgCnTD+qmClCDDAVQpZ9Nh+ R+vRmFI4t3/KsXmkvuZGJnMdT59TpAH4GFV81TksC3nLtWnqv4vjeuwATFrn0xLRpkt7 c1KMM186WktpTo5WjDeYbbX355YhGs5ePb0qor+WhpLclkKxVkwv3rkYeL77l/ocuFuP 7tvbJORwpKrIk447LD20T7H7wvBlPVh9itAd/dIKKfgIB/wmq9ajGvwuOEoOiza+iBa2 XFNaNGopnTC+bEZN5qSR8uWEwwFpf62on9vRloF2GMuQHG+D8h1diBToreGmKI8OZnFk i6ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=XYHfGhj7R8mFiuqPwlbVa+pNXegHbtos/TV9DEm8Gz8=; b=Rczy9ArATmI2eBJU0CcJBFKjsRKguXRQgKEgp0ELDner1Pwp8xNDmflVw08JLPq8Te nzmJwdpKy1bf0/RpZeIIA2RvClYMJXrAjSn66LigjQNUALlRVkCjblmSBtfcdl9p5oUW 8Yz96b4QAx/brk3CUMMwmoaAP1/+0dMXzzU5/mYz6ddne261fu+l5xprIGb6mokVVQS4 hsdMZjyhPPMG88AmelVNNTjUOYMwr5OVvVx3Y/2IO0Ug3dafYXIEFAsc1fLm7LxOT2oC pVIxOjY2cgNfPVHkHKeoygw92QNIiLyoTZVwEEIee6DoIOssYgtTDhYUi2OJKQEcspFx 9rog== X-Gm-Message-State: AODbwcAMm+SzoIFkiFg8WxSmX3QB5zj6JKjYsSdfR1FlM5EchkSMGNFX B3ZUSaRq1wZK1w== X-Received: by 10.202.214.81 with SMTP id n78mr5223100oig.79.1496438889340; Fri, 02 Jun 2017 14:28:09 -0700 (PDT) Received: from localhost.localdomain (cpe-24-31-249-175.kc.res.rr.com. [24.31.249.175]) by smtp.gmail.com with ESMTPSA id z23sm1577041otz.11.2017.06.02.14.28.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 02 Jun 2017 14:28:08 -0700 (PDT) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, Yan-Hsuan Chuang , Larry Finger , Ping-Ke Shih , Birming Chiu , Shaofu , Steven Ting Subject: [PATCH 8/9] rtlwifi: btcoex: remove unused display functions Date: Fri, 2 Jun 2017 16:27:47 -0500 Message-Id: <20170602212748.23857-9-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170602212748.23857-1-Larry.Finger@lwfinger.net> References: <20170602212748.23857-1-Larry.Finger@lwfinger.net> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yan-Hsuan Chuang These display functions are useless and will not be called in the future. Signed-off-by: Yan-Hsuan Chuang Signed-off-by: Larry Finger Cc: Ping-Ke Shih Cc: Birming Chiu Cc: Shaofu Cc: Steven Ting --- .../realtek/rtlwifi/btcoexist/halbtcoutsrc.c | 38 ---------------------- 1 file changed, 38 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c index 5ad9c180bc28..53a43dfdecba 100644 --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c @@ -485,22 +485,6 @@ static bool halbtc_set(void *void_btcoexist, u8 set_type, void *in_buf) return true; } -static void halbtc_display_coex_statistics(struct btc_coexist *btcoexist) -{ -} - -static void halbtc_display_bt_link_info(struct btc_coexist *btcoexist) -{ -} - -static void halbtc_display_bt_fw_info(struct btc_coexist *btcoexist) -{ -} - -static void halbtc_display_fw_pwr_mode_cmd(struct btc_coexist *btcoexist) -{ -} - /************************************************************ * IO related function ************************************************************/ @@ -619,27 +603,6 @@ static void halbtc_fill_h2c_cmd(void *bt_context, u8 element_id, cmd_len, cmd_buf); } -static void halbtc_display_dbg_msg(void *bt_context, u8 disp_type) -{ - struct btc_coexist *btcoexist = (struct btc_coexist *)bt_context; - switch (disp_type) { - case BTC_DBG_DISP_COEX_STATISTICS: - halbtc_display_coex_statistics(btcoexist); - break; - case BTC_DBG_DISP_BT_LINK_INFO: - halbtc_display_bt_link_info(btcoexist); - break; - case BTC_DBG_DISP_BT_FW_VER: - halbtc_display_bt_fw_info(btcoexist); - break; - case BTC_DBG_DISP_FW_PWR_MODE_CMD: - halbtc_display_fw_pwr_mode_cmd(btcoexist); - break; - default: - break; - } -} - bool halbtc_under_ips(struct btc_coexist *btcoexist) { struct rtl_priv *rtlpriv = btcoexist->adapter; @@ -696,7 +659,6 @@ bool exhalbtc_initlize_variables(struct rtl_priv *adapter) btcoexist->btc_get_rf_reg = halbtc_get_rfreg; btcoexist->btc_fill_h2c = halbtc_fill_h2c_cmd; - btcoexist->btc_disp_dbg_msg = halbtc_display_dbg_msg; btcoexist->btc_get = halbtc_get; btcoexist->btc_set = halbtc_set;