From patchwork Mon Jun 5 15:29:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9766373 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 D438060364 for ; Mon, 5 Jun 2017 15:30:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C607826E16 for ; Mon, 5 Jun 2017 15:30:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BAABD27F8F; Mon, 5 Jun 2017 15:30:22 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 643BD26E16 for ; Mon, 5 Jun 2017 15:30:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751323AbdFEPaV (ORCPT ); Mon, 5 Jun 2017 11:30:21 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:33004 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751294AbdFEPaM (ORCPT ); Mon, 5 Jun 2017 11:30:12 -0400 Received: by mail-oi0-f65.google.com with SMTP id h4so22371182oib.0 for ; Mon, 05 Jun 2017 08:30:12 -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=NJOIFeH1bno3GNmTDOATFTiSZyWHQ9E00teioi81a/yuUDGMhWagbHnDwRe3ruX/UC sBlvV1kwRVgcIIgsXnietfyeCyMlAr6FddwFI1In0I/N0iEJoD5mJIuwYY75c4Ez9//C WOlU3t2/US8PBhJP1vdXkCGKVAQSyi2f9xYsEun87bASwNdq6fXfJYefPo93ZT6eOocU Xwu/D7fA5hShaqRIhHT7MJMleHU+M+X7qDnl1OFjwD7G7Y8IeSyW0I+IrOOqqQ0gyFCs B0y/ZNEXGid3DcL+qubnvlfjsj1d9aAICvbpU0wcqFtEcrBGaosoXU+57Ojhzp/vPyq4 bNeg== 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=jJh2J4pe8MJJfHSwbxupfcgPMk/Ihg6T6HLshughlxuO2l6QOAPRo95hJt3RjAS2xq 92se1Gb6b6360dh41WxGd6MfganRHAfTphVUP+5T7+j1J9Io2Bg2uzcQZ4RfFLmA2kA6 +YSc5q6unT0ISw1avzm6JON7S4YTgF4SNSvRyFO1g4gStB3q8JjrIzmOrwKIy9WGCrkS kaIiCHdzNoEZvhexdlyphxRQzvZxsjQ++b6dfQU+wAoho962qWhybZ3ZvhBMyyK3j+/5 VVlFw/+kXqD1skgLdwkYeHbpBKSVPO0J66s9f3D3LpF4rBW9lzS84C/uz1uHSMT3HXDP UxKw== X-Gm-Message-State: AODbwcAXPYu5rHQnCOyl9BRuDaXp+SPhA+A/cs8M6Sa0b83ecp02R7dI FUcnvwMHON7RPQ== X-Received: by 10.202.97.86 with SMTP id v83mr9963396oib.113.1496676611630; Mon, 05 Jun 2017 08:30:11 -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 z23sm5554723otz.11.2017.06.05.08.30.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Jun 2017 08:30:11 -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 v2 8/9] rtlwifi: btcoex: remove unused display functions Date: Mon, 5 Jun 2017 10:29:58 -0500 Message-Id: <20170605152959.27439-9-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170605152959.27439-1-Larry.Finger@lwfinger.net> References: <20170605152959.27439-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;