Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1223655pxf; Fri, 9 Apr 2021 03:14:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCFHlepcQPC08raIKX5eZzRCh4eFDRAo5J74qgp2AoETMc/+Gs2kFhj61keQ6T1yZrw2J/ X-Received: by 2002:a17:907:20c3:: with SMTP id qq3mr15274824ejb.113.1617963247411; Fri, 09 Apr 2021 03:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617963247; cv=none; d=google.com; s=arc-20160816; b=nv+DpQu0M3P3eUi7+pXi1WeDx0v+3pjnCJXJGsgoaFCEWIAoULaB9Uk5DjcA/9zk6j lofvJo3g7csYHrfO8u56q97KIurcSBGlMwBBYq3mO2JZwcytsbmpjcdms6tj5CXgAGP6 TU3XtNPMFsPmqe4HmafF7IkGDd5cfGNps+yVY6qrIMwnmBSGaeu7p20DREAxNhu3aB4a q+dsPdJPJIYURjrv3cOwOfx2l9H8ImqV6HXp0Oj8aGkliju94GMfz/MsFp7KfUY0VrhC cnyrQnyqype4q/JSfipWn4R/+3m/eIkdH+nsL7z5V4GC+Dlobxlhd+llf6gKNnoXLdo/ VLcQ== 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=d8spghv9XGm/pmlCRiIePpg5j5meLsrNa3sxir/pbN4=; b=VE/MWxIA60GF63Zc4Av0jUT1ILKQL7TCe93s11rcJsvZQIp1jV7l/QrZvQ6rNEeYFI JITEYfPtqIS8qwnNz+GgkIosl2//9ubSIk2vXrzjImTdxw0mFyZd3ens643PIiR8PSIU IVmjRtyCfHNR7+oQGnPat4RshjDLIai1B0jrIKnRK5qAHlrSqKByF8DLYQ1eQpYBwNVL 7kFrc5+O9k2it3DA+MQQQIr+Ox4dN6hQxhcHY4ZVeRw5LAs3DE/gghwg+x3Mpha5365S ONryZA8nBIo0Y2GB8FdqFV/OvKnR8xcHViMA0aQ6XU8e/J03+3ogM410jFse6iwikGfB KNKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pT7z258T; 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 o3si1653679ejg.420.2021.04.09.03.13.44; Fri, 09 Apr 2021 03:14:07 -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=pT7z258T; 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 S234259AbhDIKNG (ORCPT + 99 others); Fri, 9 Apr 2021 06:13:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234127AbhDIKEq (ORCPT ); Fri, 9 Apr 2021 06:04:46 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F23DC0613AF for ; Fri, 9 Apr 2021 03:01:58 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id x4so5884483edd.2 for ; Fri, 09 Apr 2021 03:01:58 -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=d8spghv9XGm/pmlCRiIePpg5j5meLsrNa3sxir/pbN4=; b=pT7z258TR3HYgU4wzw5AtbklWCfXpE6CpefLtTuK9H1NUkSWTHlcFVJujEKagn/q+K SF4HPUCRTTSgpJwyEzIHSwwgGX4y2r6fxBamRHvfKohyYQjAIK26TWUMfI9qIZ+/QfkJ iT1YBzblllBSs8UJwNOMY458hLXlh8lx5wUn4iai5llJjkAyS24zEdNsZHav6r2HZxYX VfIYjce6LntLPRe1a2D7fVE7uBkYBSHXa5g4NfChNoKrBz7VYZZ4wAHhlbb4mCf85rNZ Nsqr/9M6RpSyhpTaS21dNqeu4HDa7zSgHDbVP44qlAR4jZ34ZHoNJ5AEt/3L7R9iEmIF h6aA== 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=d8spghv9XGm/pmlCRiIePpg5j5meLsrNa3sxir/pbN4=; b=EgiXewFvtG6w3ZlAdnONSGH2HH8tUYOEn4RoYUx4JWtK2e1ywK8UxMfKPWJugWXPOn yInG5UdR4WfdqHAWwD0z3zHB0lDd2bZ2avWcz3wFaQAxxngYsNlRQ2E5I9FPv8Qm2T9R gKeT70357cv4N2coXfVrawVcffF9Ta+GZR2aWDG2pnL1rj4ihbyo3z6KZMgeyVC5rAqt Ohh8rfe7+dk01JR3iLi4IRWiVf6UAwKYGZQDG05xfcSGe5cStfyPikxyW7UoZiYghvhr +VM7G3PMQbwUNX4gB5K5KZcID7Ccy1ECijsegtbOJZE5BtSfQjlqTaoMGr+4+EMIWdJ9 8tQg== X-Gm-Message-State: AOAM531nI6Svwtl1NNEsGnojxYQ9c7zW2JWXoUu4XMblpbRVR9eutB32 Ro9AzirHKWuZWADauK5+R4U= X-Received: by 2002:a50:f29a:: with SMTP id f26mr16694896edm.13.1617962517363; Fri, 09 Apr 2021 03:01:57 -0700 (PDT) Received: from agape ([5.171.72.173]) by smtp.gmail.com with ESMTPSA id n5sm970240ejj.73.2021.04.09.03.01.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Apr 2021 03:01:57 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 06/11] staging: rtl8723bs: remove unused variable pstapriv in rtw_dbg_port() in os_dep/ioctl_linux.c Date: Fri, 9 Apr 2021 12:01:34 +0200 Message-Id: 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. W=1 compiler issue: drivers/staging/rtl8723bs/os_dep/ioctl_linux.c: In function ‘rtw_dbg_port’: drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:2448:19: warning: unused variable ‘pstapriv’ [-Wunused-variable] struct sta_priv *pstapriv = &padapter->stapriv; Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c index d4392459082d..ae74623bf1a1 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c @@ -2445,8 +2445,6 @@ static int rtw_dbg_port(struct net_device *dev, struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); struct wlan_network *cur_network = &(pmlmepriv->cur_network); - struct sta_priv *pstapriv = &padapter->stapriv; - pdata = (u32 *)&wrqu->data; -- 2.20.1