Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp431247pxb; Sat, 10 Apr 2021 07:23:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxQPkKvwCPenP0adfGDY1/iDSuRZeBFviQBbft0JK/IwWmTl5CD7ZEKllaoFdGE28bwaI5 X-Received: by 2002:a05:6402:84e:: with SMTP id b14mr22340108edz.194.1618064631409; Sat, 10 Apr 2021 07:23:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618064631; cv=none; d=google.com; s=arc-20160816; b=Yack8QfgDafFArJpbb+q6J1u61sSWJL1BoA1tTbRR/G3HU4ChMTL7VmqTZObxn+a20 0JCmKagjALVgRFmf2ueQoWBW+g4SkBQSgQ+dPmzv++plXRRQFgJj06N/sye5oi68rpEu JgvPnZB3d/vbx86HTzkq1ngeBCNbvSmiN2Ja2pG9a2D09lqLMa0KSCMZTqv6jD4IN2A8 IhACjGi/qb39lPER/ynTW3vzRG2zwfTuMYi+EchnvAleGac5IihK5vM/bPU2Dv47MxAd aDUgniQD05Lyk6aWfNcaols8sp8Kp4CZnHe3PfKtN2Ehprdu3kuvROC3C4ScDVBD6Ju+ 5zUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Zjin5DeeTJdUOIT6m3UarBtO8Sf0Y8qVFDvfTkcozeU=; b=ZkP7k9Txy/wv6ILWrZoK7VSBDUWbd5LDEbu2KGsinO5CyCwmxORFr5vR/63M5Xz/cF 27UJLo8JQjLqC5ShCA+GSXPygo0qoPtyQiJ85mbPQKiARHlvgdQ8o75HjL3jjhwrMgMg mvVAQpGfDdCshYeJUrA4tIh8YyeX1dMQst7VO72G+yIZ2u904QCj0s+/XAIG9q27YAPb +F9EQvjl6GL4H3OSJNOrvQx/oUR5fKJqbXz28ZezcXK09ZeKsDFkYCKqw0i5VrVPUXEk cw3zEAxtyvzZzsuSZfRKj/WvhRVH4pFsHSrJNf4VvqF/vEjsh8qhYYHJ8DxO2U3+yySS i3XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n5WhYBhZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id qq23si4157305ejb.505.2021.04.10.07.23.28; Sat, 10 Apr 2021 07:23:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=n5WhYBhZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234992AbhDJOVb (ORCPT + 99 others); Sat, 10 Apr 2021 10:21:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234848AbhDJOVQ (ORCPT ); Sat, 10 Apr 2021 10:21:16 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3402FC06138A for ; Sat, 10 Apr 2021 07:21:01 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a7so13073042eju.1 for ; Sat, 10 Apr 2021 07:21:01 -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 :mime-version:content-transfer-encoding; bh=Zjin5DeeTJdUOIT6m3UarBtO8Sf0Y8qVFDvfTkcozeU=; b=n5WhYBhZ5CHPTDYrq14Fa8nJA3e6yObID5CStjBHPPTlCUtPjsJo9L+bTFrBAtHw8Q hnvmDvp9rnTm1ZDi1tDewDFtkpAItArqhxqP059Idx0E6e//DK1ankLayXW9q9vGSg85 zbFSltBtHUobsXNs/whkGxAGWwLyE3MtB3m4rrpt2MK8uv7bMBIxgsMfb5TT9AdLfoEn yQhIUl9ighk4AXo7dq/cLTUazisjQuLhZKsu6M8CMgWYx7x3neWm3FuqzH8M8vRiC9fE lxjyxufrQxpURpg4skFtBEM80dgkU1rjhqoSrMx6pSvJnoREfMC9gtT3YJyWRWBaNpSh 3wBA== 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:mime-version:content-transfer-encoding; bh=Zjin5DeeTJdUOIT6m3UarBtO8Sf0Y8qVFDvfTkcozeU=; b=cyI9s9C7MsIJMSLQQ4I/QeI5ZzHSWy11zHCQiAP+V2qKj7w0WBpHsd6MgZxgnDnX6V mQr2tCuc4N5BLoyNaocTl9JMNn5E9FSqvsHHbAGHu0NcVA5VKw7DRquZlMHZNb1Gi7o6 FJgAFNqGvFKt4BtbbZvW4Ur+InBvmb8O4Fd+U0kjtbazIZUVSkVc1KRXV5JZjCs1E9Qy 2ZNxefS2BMttOO0306VaOUoHHUusurJCIoAUp7AL3Qlp9aApalfpr4pbUxn4qjGEyQYL 9qYt5ZaFFPs9zGsD0m2XSn58r3HbP8iFfk2YHpYSWDNVNMLtf801HBejTC80OYcN2ISi 2lsA== X-Gm-Message-State: AOAM530R5yOeGLNhOE1aWammq+39Nfrld67s1BloZM47ymD1fVM7bvTf qKrgZ8HxEx0sKQV6m2JCbu17NMenOl2CQw== X-Received: by 2002:a17:906:2a50:: with SMTP id k16mr19704095eje.537.1618064459780; Sat, 10 Apr 2021 07:20:59 -0700 (PDT) Received: from agape ([5.171.81.28]) by smtp.gmail.com with ESMTPSA id y16sm3124824edc.62.2021.04.10.07.20.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Apr 2021 07:20:59 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 12/25] staging: rtl8723bs: remove empty ifdef blocks conditioned to DEBUG_CFG80211 definition Date: Sat, 10 Apr 2021 16:20:25 +0200 Message-Id: <7c4485a9d02e8c553c1d81f8b98c8479f481e54c.1618064274.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove empty ifdef blocks conditioned to DEBUG_CFG80211 definition. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 80d9805eaa38..a8697ae5b066 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -1310,17 +1310,11 @@ static int rtw_cfg80211_set_probe_req_wpsp2pie(struct adapter *padapter, char *b u8 *wps_ie; struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); -#ifdef DEBUG_CFG80211 -#endif - if (len > 0) { wps_ie = rtw_get_wps_ie(buf, len, NULL, &wps_ielen); if (wps_ie) { - #ifdef DEBUG_CFG80211 - #endif - if (pmlmepriv->wps_probe_req_ie) { pmlmepriv->wps_probe_req_ie_len = 0; @@ -1435,8 +1429,6 @@ static int cfg80211_rtw_scan(struct wiphy *wiphy /* parsing request ssids, n_ssids */ for (i = 0; i < request->n_ssids && i < RTW_SSID_SCAN_AMOUNT; i++) { - #ifdef DEBUG_CFG80211 - #endif memcpy(ssid[i].Ssid, ssids[i].ssid, ssids[i].ssid_len); ssid[i].SsidLength = ssids[i].ssid_len; } @@ -2681,21 +2673,14 @@ static int _cfg80211_rtw_mgmt_tx(struct adapter *padapter, u8 tx_ch, const u8 *b ack = false; ret = _FAIL; - #ifdef DEBUG_CFG80211 - #endif } else { msleep(50); - #ifdef DEBUG_CFG80211 - #endif ret = _SUCCESS; } exit: - #ifdef DEBUG_CFG80211 - #endif - return ret; } -- 2.20.1