From patchwork Wed Jun 28 07:57:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souptick Joarder X-Patchwork-Id: 9813583 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 74FBF60365 for ; Wed, 28 Jun 2017 07:57:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6327B26256 for ; Wed, 28 Jun 2017 07:57:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55C8327A98; Wed, 28 Jun 2017 07:57:19 +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 EE63D26256 for ; Wed, 28 Jun 2017 07:57:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751225AbdF1H5R (ORCPT ); Wed, 28 Jun 2017 03:57:17 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35681 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750829AbdF1H5Q (ORCPT ); Wed, 28 Jun 2017 03:57:16 -0400 Received: by mail-pf0-f196.google.com with SMTP id s66so8014854pfs.2 for ; Wed, 28 Jun 2017 00:57:16 -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=ELArf2hjOzy6n+qBaPiRPRxLzPtz0Jq8zNYFg3ZV1sU=; b=EXMb5F4Rf9d+W5uEFp6DBNX3PaR60huhUmkhpxNY6NB/6RptCjEnzhPb7pfKPFxxHE DaMc2bj8urJ427x+827B8rqJ6sfdAwd9xjRwG4cv66kaIItr7TYOEcPvvYhc7iv581A2 qf1yPB8etj8yIeQy30B9HYvCQ6ikFATohA/h6rJiHtIInYW6BJSej5wSBEcxj4jegwpZ eXFgHulIm9/o66PxqfGUMPHPweqhic5ohVJT2QO+FcITGQNraP3KHV1WTMDFHFCPLE9n wExkFrUZ2bTcXkZ8CXC5j7vWShsZxcC5ENSdwgiXgzLFicVeRKg53vb2Dhr+6FKvdSut 2XGQ== 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=ELArf2hjOzy6n+qBaPiRPRxLzPtz0Jq8zNYFg3ZV1sU=; b=trDg0SiIkpf/OzrwWYUmCo4ZRXIndNhGsEr6gXhMihLNy+bSR78s09LTGa6yT6ac+h t3jNtTvNP329aBY2BQfWaVl4/Cp27KkG6E1qu57EAVK/+Q8MHuzRUp/WfBOjAZAgSFo3 g4MO/XiVvzABV7gx47+G03KRlRiILo5BsVE5v0clZA+tTQGwDPi8v9X55EZ5NdWZUrU4 vFIDQt1TQCotqIA4kNE7RLJIBBnrtgS5tGegT7TuJpTGxWuOfNCemDzLcdM04oE2GExL VZni5mLfxTmjrCbF6UIFZxZq2J5BdPioyvjioAl16yqtf4drtyneKBaIaPrcplll+x7Z S6Og== X-Gm-Message-State: AKS2vOy0Mbhe+rbe7HVRAuAmvszLTb1vIDE/8VMIthXmdJHNllnrWNc+ d6P8No9Ssr1BB+Lj X-Received: by 10.84.209.236 with SMTP id y99mr10380769plh.198.1498636635472; Wed, 28 Jun 2017 00:57:15 -0700 (PDT) Received: from symbol-HP-ZBook-15 ([223.31.70.102]) by smtp.gmail.com with ESMTPSA id k18sm2432178pgf.5.2017.06.28.00.57.13 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Jun 2017 00:57:14 -0700 (PDT) Date: Wed, 28 Jun 2017 13:27:11 +0530 From: Souptick Joarder To: Larry.Finger@lwfinger.net, chaoming_li@realsil.com.cn Cc: linux-wireless@vger.kernel.org Subject: [PATCH] rtlwifi: remove dummy function call Message-ID: <20170628075711.GA8101@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 _rtl92cu_init_usb_aggregation() can be removed as it is dummy one Signed-off-by: Souptick Joarder --- drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c | 5 ----- 1 file changed, 5 deletions(-) -- 1.9.1 diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c index 107c34e..ef8bd71 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c @@ -777,10 +777,6 @@ static void _rtl92cu_init_queue_priority(struct ieee80211_hw *hw, queue_sel); } -static void _rtl92cu_init_usb_aggregation(struct ieee80211_hw *hw) -{ -} - static void _rtl92cu_init_wmac_setting(struct ieee80211_hw *hw) { u16 value16; @@ -863,7 +859,6 @@ static int _rtl92cu_init_mac(struct ieee80211_hw *hw) rtl92c_init_edca(hw); rtl92c_init_rate_fallback(hw); rtl92c_init_retry_function(hw); - _rtl92cu_init_usb_aggregation(hw); rtlpriv->cfg->ops->set_bw_mode(hw, NL80211_CHAN_HT20); rtl92c_set_min_space(hw, IS_92C_SERIAL(rtlhal->version)); _rtl92cu_init_beacon_parameters(hw);