Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1223555pxf; Fri, 9 Apr 2021 03:13:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2ZURJGxejqHml5rSOT7o95cPzKStB5qcYIrp+AckEyvwXrAfhOvPcCLXcloGCyPwhGtOa X-Received: by 2002:a63:134c:: with SMTP id 12mr12569463pgt.124.1617963236855; Fri, 09 Apr 2021 03:13:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617963236; cv=none; d=google.com; s=arc-20160816; b=LP4GqcksOAUg65HoFe8NH+L4UCgt+Wb9a5xYMrxaeg3hAGY9HEfo3P789XfMn5CDJ/ uoIZWV59Y71vR6X9Uco9tF0ko5uoXeUCr4rGm98DDOqgmZyx5baFEnI1ijUsQhBwZsT9 nzvhXDxteRrS+X09+jc0+L6GkwFmaLNef3I/aoHOqMrvM2mVjGZG+66BhkzK7zGYS6GP UgJcWr2ReIkW/r2Ex7sLttUGPNFy9rqH9Gn2xw3+Y6sHVzctGZih8nHXM19cWb+NMVOV eL0JXiwVhZW5F/zYNf+W9o3SkQ9Rf5O9oEfO5PplpE/uwwwrLNHIxCN4tlLTU/GQ8VEp rLoA== 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=qyN5LFR2nEodijnWpjK7DR8Nq7Cto+oql9ELFRPhWbo=; b=pJkWDhu1fflPFcv9QzALu0oPjG599LEh0s9n/KdK1JKj21I+U73GzzC+bmm3LGjuFv 85x7C9l6+3qg381p06FMql7frvqJ3x+RI6CwGBtsRWcPXc2c1a534IFq9Sv8vxrk1hAA 8OSxNeBbBTYHfCo51G5w+X19qT1IfYdxjukJTxstKlQZ1nYQH279HwHNSwed1TqQTmB6 beQT8EkD6nuts4Hohe8LSiH2x9Gr7JD6eNE6x7IQHRYQQT/lMRhiyLuk7gh8x3jXEqKY RBgLW0CeGV2FA+C8nHO4z+5/XhDJq7J4cq0yh3h7xvvm3YM7RWVM170azjPyohLT+ULk 7ahw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ea9Gp1FL; 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 cx9si2545372pjb.111.2021.04.09.03.13.45; Fri, 09 Apr 2021 03:13:56 -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=Ea9Gp1FL; 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 S233434AbhDIKN0 (ORCPT + 99 others); Fri, 9 Apr 2021 06:13:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234142AbhDIKE4 (ORCPT ); Fri, 9 Apr 2021 06:04:56 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5029CC0613B0 for ; Fri, 9 Apr 2021 03:02:00 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a7so7763061eju.1 for ; Fri, 09 Apr 2021 03:02:00 -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=qyN5LFR2nEodijnWpjK7DR8Nq7Cto+oql9ELFRPhWbo=; b=Ea9Gp1FLIBBtrlA/horz3pR12EPmSpmpIO0zpXekNYcqh4Bsr1KgsTF+Z8DzwGipZw nSXDau9NS7lRrYb2kYwaNM3vTO6cHxwoRXiYXYPUTNkpPnnlvguwB+8VjF7r3u7aWo+u PHt4mqhgw/4g4PiGyfVbh5LLwUqxolnuJUarluR2RtMbvSCI38FwTfAcK1PpDQ36RvNP n4pXGeWrk3FBgdDDeB/ojTfcVXvY+52WrhX+DyPy3HzVAWjvD5ibVwyLiqRbVjV6aEp0 Dam4Gn+GIVVSOi/ARDZCqgNERuxw8JeWJpMG420wvYlmiTjD+za1j79WCSiF4TneTwFx StiA== 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=qyN5LFR2nEodijnWpjK7DR8Nq7Cto+oql9ELFRPhWbo=; b=lR5pZMHlKbhh4iKzSdQNwVPfsSCN1V9fKeByvnJDHJ8bqtnBVyBkf9brhS2Zb42NP8 DZNVrCbbngCYn3XFLkbgUk0pxmNGgknqetkTA0yM5DQuLit9RCcegcj9FmlHTacWgwSG AHQEg71Wv6495VVQ8fMNmiV3GrGTeZUZLptVsNdR5DxCaTxFeK33zaTKPhFBKriKg2ba WlGEUTN2K0oml2azMvWHh2KI0QLBz27FQR9Ntgx3qCZowMljZMPi2o4BqfRKiB3d0MEn k6ouX5Jbvb12DRSSdOTW2k0ssn5IZYSafJ51pWLsZADoGD9pV4oqj+wcPYVxlLFcccCV LzAQ== X-Gm-Message-State: AOAM5312OibuK58olDhJASbvw2JTMJtL7lC9HmExAhjF4eEjws85AQnT XLjZKYFTXEbMdzBnMr3VgSE= X-Received: by 2002:a17:906:148a:: with SMTP id x10mr15573555ejc.92.1617962519091; Fri, 09 Apr 2021 03:01:59 -0700 (PDT) Received: from agape ([5.171.72.173]) by smtp.gmail.com with ESMTPSA id hd8sm962405ejc.92.2021.04.09.03.01.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Apr 2021 03:01:58 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 07/11] staging: rtl8723bs: remove unused cur_network variable in rtw_dbg_port() in os_dep/ioctl_linux.c Date: Fri, 9 Apr 2021 12:01:35 +0200 Message-Id: <6aed13408f912b6c36a19a5e91e17b1126fc6247.1617962215.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove unused variable. Fix W=1 compiler warning: drivers/staging/rtl8723bs/os_dep/ioctl_linux.c: In function ‘rtw_dbg_port’: drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:2447:23: warning: unused variable ‘cur_network’ [-Wunused-variable] struct wlan_network *cur_network = &(pmlmepriv->cur_network); Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c index ae74623bf1a1..2f215e5e28b0 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c @@ -2444,7 +2444,6 @@ static int rtw_dbg_port(struct net_device *dev, struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); - struct wlan_network *cur_network = &(pmlmepriv->cur_network); pdata = (u32 *)&wrqu->data; -- 2.20.1