From patchwork Sat May 13 16:41:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 9725395 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 5ECA7601E7 for ; Sat, 13 May 2017 16:41:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5239C28894 for ; Sat, 13 May 2017 16:41:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4713A288C6; Sat, 13 May 2017 16:41:49 +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 28FEE28894 for ; Sat, 13 May 2017 16:41:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754220AbdEMQln (ORCPT ); Sat, 13 May 2017 12:41:43 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36257 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752203AbdEMQlk (ORCPT ); Sat, 13 May 2017 12:41:40 -0400 Received: by mail-wr0-f194.google.com with SMTP id v42so10222163wrc.3 for ; Sat, 13 May 2017 09:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=C2WUh3vpD1yYJZvHSC7PMPfTpoA6ig8G5Dv2wm2WFoE=; b=TBy04qA5yPp/AQlqLdRjdethAPkFKaWvuaQWDaRbdkjHtCTT+M75LXvyFd4FAGUFyF eVrbbk9bW1FFEq18LE4bfMRxf7ZMPspGQtPFa22oCVZVDmj2Wn5kPgGk6A38pd4qUgC1 pgH9T/6f82I288YW3Q6CwCggrdmczErwP5OZHxW9Z7ZH7gLtumwO15xDyaRaLfcP4mYM YnDI0RgzHKI8nV+lbgVxgFZzjXGmOYxE7BoK1fafJV6imgbhdWfbVSi3io0zevKL5jUb e2/n5U9427HWe8VUMmxNB2gkIvzWQNLAZQFpmIRCZKVBVD6YlCkdh9TtuWI7iROJ9lkI Sv4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=C2WUh3vpD1yYJZvHSC7PMPfTpoA6ig8G5Dv2wm2WFoE=; b=TT5YbTOZKuderYYUqjMx5yM5IQUk55EitPX1O/Bc4MXUimHzbtTCjr4jihjX2z8ke1 FCuFrL+0j/mGye24nUTkKj/1ly9XcNp/9NjzGFfZ55WGb2x3FP/916v45EkfrM7Uad55 UbKARMhvcikOY6mcbGeeHjFFb7NAmHWxYLGfqIJibigIjnMK5sGlnAlAtiUCsltCYhDj eKLqAAM2TnDpHTT7vgQ6x34BjUYYhPs08sfgR8U4ZmB4Eyx+HNbLUUfdU2EHINScp+ZW onnc0HwmLIRc9ByY9BeFv8f90Q+tFyQl1QHGgtBqWlezUNqrKzBJhnreTYJrF3ma/qQN rP9w== X-Gm-Message-State: AODbwcDK8T5eZHgB3N/AK9fczjSeEtlW12K8abF5SRt8mHKNXXfw8ItR Ok/aHfR/NmQEOw== X-Received: by 10.223.155.134 with SMTP id d6mr7222871wrc.157.1494693699593; Sat, 13 May 2017 09:41:39 -0700 (PDT) Received: from localhost.localdomain (94.197.120.114.threembb.co.uk. [94.197.120.114]) by smtp.gmail.com with ESMTPSA id a197sm5767303wma.1.2017.05.13.09.41.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 May 2017 09:41:39 -0700 (PDT) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Malcolm Priestley Subject: [PATCH 5/5] staging: rtl8192e: _rtl92e_dm_check_edca_turbo remove peername message. Date: Sat, 13 May 2017 17:41:21 +0100 Message-Id: <20170513164121.14373-5-tvboxspy@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170513164121.14373-1-tvboxspy@gmail.com> References: <20170513164121.14373-1-tvboxspy@gmail.com> 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 This kinda reports this as if it was an error message. Now that bssid is reported at associate remove this piece of code serves no purpose as there is no code for peers so remove it. Signed-off-by: Malcolm Priestley --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index 1a43c684f9f3..b8205ebafd72 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c @@ -1693,22 +1693,6 @@ static void _rtl92e_dm_check_edca_turbo(struct net_device *dev) if (priv->rtllib->pHTInfo->IOTAction & HT_IOT_ACT_DISABLE_EDCA_TURBO) goto dm_CheckEdcaTurbo_EXIT; - { - u8 *peername[11] = { - "unknown", "realtek_90", "realtek_92se", "broadcom", - "ralink", "atheros", "cisco", "marvell", "92u_softap", - "self_softap" - }; - static int wb_tmp; - - if (wb_tmp == 0) { - netdev_info(dev, - "%s():iot peer is %s, bssid: %pM\n", - __func__, peername[pHTInfo->IOTPeer], - priv->rtllib->current_network.bssid); - wb_tmp = 1; - } - } if (!priv->rtllib->bis_any_nonbepkts) { curTxOkCnt = priv->stats.txbytesunicast - lastTxOkCnt; curRxOkCnt = priv->stats.rxbytesunicast - lastRxOkCnt;