From patchwork Mon Mar 9 15:07:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Taehee Yoo X-Patchwork-Id: 5968631 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DB5A4BF440 for ; Mon, 9 Mar 2015 15:07:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 429D72025A for ; Mon, 9 Mar 2015 15:07:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 861292024F for ; Mon, 9 Mar 2015 15:07:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753844AbbCIPHV (ORCPT ); Mon, 9 Mar 2015 11:07:21 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:41211 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753222AbbCIPHT (ORCPT ); Mon, 9 Mar 2015 11:07:19 -0400 Received: by pdjy10 with SMTP id y10so25745792pdj.8 for ; Mon, 09 Mar 2015 08:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Ckc6nrf4bZrdMaSG2Zf7yYZGQ46dX3fO/ZWZ79mmfso=; b=Qr+NJhlfz86IEn0+ChL1jdHbq0QcDRnkua+F+g531iyR8lNHWxUf9iO/9zah9SX9+i PQlqqZpJIcsJ8TpydFdGNn+cy1qNY42hx5MHkj2EB8B7JK3DNbwdrdpGo1kPN3ilOgIj 2PYfpQbGmrPd4YK0+bcc7y7qe9mzrdVBgN3UeeYFLQkhtNqMTzaPY0TnCtjMZOHDlK1+ 8qM0iDoeWPiOH6ofJYZbcF82nuSrAXlVpPVlhXgfpGmC279IEoHc9HVNR2mG07VHBrBb OWFuGUhteBUPVPGsiwFJw9cz3TReqURNeAyHazPO9ENP66Dmk+AYsPyZMfL78TsLxe4U r3zQ== X-Received: by 10.70.118.134 with SMTP id km6mr49537495pdb.162.1425913638748; Mon, 09 Mar 2015 08:07:18 -0700 (PDT) Received: from localhost.localdomain ([210.118.75.111]) by mx.google.com with ESMTPSA id dp4sm19671089pdb.66.2015.03.09.08.07.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Mar 2015 08:07:17 -0700 (PDT) From: Taehee Yoo To: Larry.Finger@lwfinger.net, ap420073@gmail.com Cc: linux-wireless@vger.kernel.org Subject: [PATCH] rtlwifi: rtl8192cu: Remove unnecessary parameter Date: Tue, 10 Mar 2015 00:07:08 +0900 Message-Id: <1425913628-6415-1-git-send-email-ap420073@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove unnecessary parameter in rtl8192cu/hw.c Signed-off-by: Taehee Yoo --- drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c index 0c20dd7..43b2b20 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c @@ -1471,8 +1471,7 @@ static void _InitBeaconParameters(struct ieee80211_hw *hw) rtl_write_word(rtlpriv, REG_BCNTCFG, 0x66FF); } -static void _beacon_function_enable(struct ieee80211_hw *hw, bool Enable, - bool Linked) +static void _beacon_function_enable(struct ieee80211_hw *hw) { struct rtl_priv *rtlpriv = rtl_priv(hw); @@ -1517,7 +1516,7 @@ void rtl92cu_set_beacon_related_registers(struct ieee80211_hw *hw) rtl_write_byte(rtlpriv, REG_RXTSF_OFFSET_CCK, 0x50); rtl_write_byte(rtlpriv, REG_RXTSF_OFFSET_OFDM, 0x50); } - _beacon_function_enable(hw, true, true); + _beacon_function_enable(hw); } void rtl92cu_set_beacon_interval(struct ieee80211_hw *hw)