From patchwork Wed Jun 28 12:32:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souptick Joarder X-Patchwork-Id: 9814165 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 398A860383 for ; Wed, 28 Jun 2017 12:32:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CC5F2847D for ; Wed, 28 Jun 2017 12:32:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F563284B2; Wed, 28 Jun 2017 12:32:42 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 B636E2847D for ; Wed, 28 Jun 2017 12:32:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751540AbdF1Mck (ORCPT ); Wed, 28 Jun 2017 08:32:40 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:36188 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751469AbdF1Mci (ORCPT ); Wed, 28 Jun 2017 08:32:38 -0400 Received: by mail-pg0-f65.google.com with SMTP id u36so8093774pgn.3 for ; Wed, 28 Jun 2017 05:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=yCjpQO9l0IucY8D2lgiMAETigDwdNhwkEGiIbVtLpZ0=; b=NLDFQFdjSAaKFjDPzCL1S3Yr73KkdgfY4zKWHfslV9ViRAuyx9kc+WAnbfXmEkB42j PPni2qicSwiKfiIK/0b3ZoQ9WfCP4FK0+aAJB30Oj/HKhR5bzOQBBs5P3N3UVG/q/wiI E1HiurxGYoreitknxyhfemDLU3mbQBmo/hps0YIr12ugX5dGtPCT0wXf/wrgX5ykHdct NwIiSEtKvzL9QRa7peIzXYnY+6BHhDIu166A8O0ame4joISQzLWbSME1Cp6edVJqwdFD v9fWQ9HCy317rVWEVCij2fcq29y6ha4S1gu68bhbYu47i8SiefVPhs7juS+Kyw1qTP48 NzYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=yCjpQO9l0IucY8D2lgiMAETigDwdNhwkEGiIbVtLpZ0=; b=YhYYPeWjQxhwgugwLrH8hjFmUVq7q3itnx2XUbf9gLYotZo06OcdwPPMtUi0VL3HZM cwhtRkuywxI4AwjqySTy2b2dHZDTfBOPY/bIrXsBg1/KFW+BEpsSSLaRKNEZ2zyMeqlo U4vlwylk1FwtUTfAvQXyuNmH0dEBDNAojs0diosI+XXnGRY7CuD6/UaVSnZLo8n6CwqS 2uAXPP1fZDokg7yq1GIHlXdeYLzz0kqLPB06HUPK1F+zOm5u9H07AP1hYx3ymLdFGHdT DpyT3hRVjCJDSQsDmq/Os+D2X/YlnDwngvW908omusV/ASRqjkMVb5pbGuLj/2f364/B gT1A== X-Gm-Message-State: AKS2vOxJSdUhT4gNyH25RsE+w9H7wdunl/bqrhtA1ttp5W884HEHZArO 03BQcLILulrgFU6e X-Received: by 10.84.232.205 with SMTP id x13mr11735881plm.245.1498653157547; Wed, 28 Jun 2017 05:32:37 -0700 (PDT) Received: from symbol-HP-ZBook-15 ([223.31.70.102]) by smtp.gmail.com with ESMTPSA id o66sm6532489pga.64.2017.06.28.05.32.35 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Jun 2017 05:32:36 -0700 (PDT) Date: Wed, 28 Jun 2017 18:02:33 +0530 From: Souptick Joarder To: Larry.Finger@lwfinger.net, chaoming_li@realsil.com.cn Cc: linux-wireless@vger.kernel.org Subject: [PATCH] rtlwifi: Remove unused dummy function Message-ID: <20170628123233.GA10039@symbol-HP-ZBook-15> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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 Removing unused dummy function Signed-off-by: Souptick Joarder --- drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c | 2 +- drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c | 12 ------------ drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h | 3 --- 3 files changed, 1 insertion(+), 16 deletions(-) -- 1.9.1 diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c index 96c923b..62d9214 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/sw.c @@ -173,7 +173,7 @@ static bool rtl92cu_get_btc_status(void) .rx_urb_num = RTL92C_NUM_RX_URBS, .rx_max_size = RTL92C_SIZE_MAX_RX_BUFFER, .usb_rx_hdl = rtl8192cu_rx_hdl, - .usb_rx_segregate_hdl = NULL, /* rtl8192c_rx_segregate_hdl; */ + .usb_rx_segregate_hdl = NULL, /* tx */ .usb_tx_cleanup = rtl8192c_tx_cleanup, .usb_tx_post_hdl = rtl8192c_tx_post_hdl, diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c index 41422e4..25a081c 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.c @@ -436,13 +436,6 @@ void rtl8192cu_rx_hdl(struct ieee80211_hw *hw, struct sk_buff * skb) _rtl_rx_process(hw, skb); } -void rtl8192c_rx_segregate_hdl( - struct ieee80211_hw *hw, - struct sk_buff *skb, - struct sk_buff_head *skb_list) -{ -} - /*---------------------------------------------------------------------- * * Tx handler @@ -675,8 +668,3 @@ void rtl92cu_tx_fill_cmddesc(struct ieee80211_hw *hw, RT_PRINT_DATA(rtlpriv, COMP_CMD, DBG_LOUD, "H2C Tx Cmd Content", pdesc, RTL_TX_DESC_SIZE); } - -bool rtl92cu_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb) -{ - return true; -} diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h index 487eec8..15a66c5 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h @@ -385,8 +385,6 @@ bool rtl92cu_rx_query_desc(struct ieee80211_hw *hw, struct ieee80211_rx_status *rx_status, u8 *p_desc, struct sk_buff *skb); void rtl8192cu_rx_hdl(struct ieee80211_hw *hw, struct sk_buff * skb); -void rtl8192c_rx_segregate_hdl(struct ieee80211_hw *, struct sk_buff *, - struct sk_buff_head *); void rtl8192c_tx_cleanup(struct ieee80211_hw *hw, struct sk_buff *skb); int rtl8192c_tx_post_hdl(struct ieee80211_hw *hw, struct urb *urb, struct sk_buff *skb); @@ -404,6 +402,5 @@ void rtl92cu_fill_fake_txdesc(struct ieee80211_hw *hw, u8 * pDesc, void rtl92cu_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc, bool b_firstseg, bool b_lastseg, struct sk_buff *skb); -bool rtl92cu_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb); #endif