Received: by 2002:ac0:950e:0:0:0:0:0 with SMTP id f14csp1355385imc; Sun, 17 Mar 2019 11:32:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxahUARAct+LUyqg5WkS7N0slsno8h0x6wLtFjmpwDH6mAtkxxshLqr63nwEAHMay1SXdYA X-Received: by 2002:a62:3047:: with SMTP id w68mr15121499pfw.17.1552847546916; Sun, 17 Mar 2019 11:32:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552847546; cv=none; d=google.com; s=arc-20160816; b=noRl2Gd7IJ6Mk6tnz0kzO+vAElUdpzRve00VJ9KOxvAgixv2sPyFHkc7QfLLnZz1+r y6tn/mVlz3oYmKpyeeZ5tjFbiVMWBQID5W0UJ5yV5TvDUL/TXLohguSqi6I6BBfzDZ1l sG8BXxMl5lZ299q9pv4nvOYBnBhmxTTZy5JkOrcqG+MvTqIFuHKFdsZ9Ik6ShQ3eASsX mY1jZFLzeRfZJxhWPlyeI6hJ6aA6hU7Cq4VvW/IURkyT89I7xqhDoyGcnHcNTaqgyTUp PokOs5P5I3pFKvGH1jev0BtFf74OXqFrayo+KRlXvf1MF0NNpMsBQps9BaWeGu6h2gel EqXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :reply-to:references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tmad6UEivAM36OiZQwZuLuBdx+JVNNUEe2xoTGh/hEU=; b=uWi9RQSr0KjxXqy8/U9CNpYlaV9Nhr1IzYjGEtJYmtfWxdf53sI3gShCKcXpH25qW+ +zrXpxHedhBs6sAj8Q3Quoyp8sktbTq8fFIz4dT52WoJUAREjDuKgyQkDType4x7mEMY SI+SchlE9hltz+gGEbFcz/zbz4Xb17F8EpG2LdQVihwRxSUBGNfnqRVvcKUBPzditVtt zoAVlv7+sx9BXWNMKt4RjtwCiMtc252ZGyTcwGZrMc8KJ9XjH3p8ju13P4fDv1pWmBcf KRhRmNTzBMlIVLpYBmXYT7DvS378ewMO5gLQnAqZ5faLg6SEl+DxiKIr5LveItCG/SVc X6nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oHWZwE3r; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q1si7618246plb.148.2019.03.17.11.32.11; Sun, 17 Mar 2019 11:32:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oHWZwE3r; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727448AbfCQSb3 (ORCPT + 99 others); Sun, 17 Mar 2019 14:31:29 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34241 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727438AbfCQSb1 (ORCPT ); Sun, 17 Mar 2019 14:31:27 -0400 Received: by mail-wr1-f68.google.com with SMTP id k1so14131370wre.1 for ; Sun, 17 Mar 2019 11:31:26 -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:reply-to :mime-version:content-transfer-encoding; bh=tmad6UEivAM36OiZQwZuLuBdx+JVNNUEe2xoTGh/hEU=; b=oHWZwE3rATTMn1shhpEMUoJqQzLfxlFWTlg6eMgRjUiTba6bGzyQ7bkGI+nOCIBzFA fqKIGCna/+nO1WXoycrDo9Rlz0ikkAoHB/9WtpXQv5qVlpdXBo7fAjc9Sm0l4mWNxrAH L5jodhNRD4ZtDI8mLHhruyOFmfVa+VlrkpkLyPVL/UlkTEipV2LuGUpKB8BL9rg0uUDy R3S3sCShvYXYkjkOc/BUQHQLyLpEZ9Atpuh9xlxLcwAodfTNlZF26Dqs8fAmRu4EIhwu RTrz6309oeaVUV+G2EnwQxhsHgPQkeACB9t6VpgEkve/fuhUSuq4PbcPp4Iy4aJyM/Sg HfIQ== 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:reply-to:mime-version:content-transfer-encoding; bh=tmad6UEivAM36OiZQwZuLuBdx+JVNNUEe2xoTGh/hEU=; b=gh7dRJfPKt9HbRFlLq81ixeC3DVsx8ZAy4/6vMo9BFZAvaR+Z31w+3wwdCcIMObRbV FvMy2W0kVFrNt/IyrecP0aDZBOiZjd1Q1qbaMVHKM7jWj9okBwmeNRUzKJen7v+wo+Ph KWPc48ImUJskEPxx9e2D2doXUIUI5VOE+ZGO5C/8INJDOJtOfsVXJfmyX3QeNoG7HVZz iRr6PRuYmnA/RgBcXF5vma7HW3O411Zczieyg7oLk5R5G8dmljy38k+0T3DRjCmTi12E JeAUOO1pesJ6bL/NScUW/zUoscTMSihb8Xlf/a4oz7yfgnwTvNZ2cC5mbBsBZjc/hOTP C3lw== X-Gm-Message-State: APjAAAVSR+BxTUUMPHaccW4+FgmaVxXgZ5SBFawOfjxe5+kUfEDUXiXw czaodze4aFQALxFnBT74AFsMPQ4Re7E= X-Received: by 2002:a5d:4f91:: with SMTP id d17mr10141392wru.67.1552847485852; Sun, 17 Mar 2019 11:31:25 -0700 (PDT) Received: from p200300EEEE2F.fritz.box (p200300C9871AF900B43796A8F69485B6.dip0.t-ipconnect.de. [2003:c9:871a:f900:b437:96a8:f694:85b6]) by smtp.gmail.com with ESMTPSA id q5sm8415358wrn.43.2019.03.17.11.31.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Mar 2019 11:31:25 -0700 (PDT) From: Emanuel Bennici To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Joe Perches , Thomas Avery , Hardik Singh Rathore , Florian Harbecke , Aymen Qader , Nathan Chancellor , Henriette Hofmeier , Michael Straube Subject: [PATCH 03/10] staging: rtl8723bs: Remove Dead Code in collect_bss_info Function Date: Sun, 17 Mar 2019 19:31:06 +0100 Message-Id: <20190317183115.32393-3-benniciemanuel78@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190317183115.32393-1-benniciemanuel78@gmail.com> References: <20190317183115.32393-1-benniciemanuel78@gmail.com> Reply-To: benniciemanuel78@gmail.com MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In `u8 collect_bss_info` is a ifdef-Preprocessor who checks CONFIG_INTEL_WIDI, since this Macro doesn't exists anymore this Patch removes the Dead Code in core/rtw_mlme_ext.c Signed-off-by: Emanuel Bennici --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c index ebb45acb4446..1f7c87e48c1e 100644 --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c @@ -4579,12 +4579,6 @@ u8 collect_bss_info(struct adapter *padapter, union recv_frame *precv_frame, str pmlmepriv->num_sta_no_ht++; } -#ifdef CONFIG_INTEL_WIDI - /* process_intel_widi_query_or_tigger(padapter, bssid); */ - if (process_intel_widi_query_or_tigger(padapter, bssid)) - return _FAIL; -#endif /* CONFIG_INTEL_WIDI */ - #if defined(DBG_RX_SIGNAL_DISPLAY_SSID_MONITORED) & 1 if (strcmp(bssid->Ssid.Ssid, DBG_RX_SIGNAL_DISPLAY_SSID_MONITORED) == 0) { DBG_871X("Receiving %s("MAC_FMT", DSConfig:%u) from ch%u with ss:%3u, sq:%3u, RawRSSI:%3ld\n" -- 2.19.1