From patchwork Wed Aug 26 09:33:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 248387 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:522:0:0:0:0 with SMTP id h2csp4156342ils; Wed, 26 Aug 2020 02:36:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLHdzwAA+PJoyX4X2uihAf02xq7E5n5j1acMX7V1sqQwRAlshsE6PissgH91PC+b4DqB6h X-Received: by 2002:a05:6402:2033:: with SMTP id ay19mr14050023edb.361.1598434617406; Wed, 26 Aug 2020 02:36:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598434617; cv=none; d=google.com; s=arc-20160816; b=gjqAjRiCRFOWINy4fWDaHVEFkZ2mZzS64JwenRe8LNUYOGGvDIvuzPqvVxYYUzu5XZ 0NKxajTzdOTGnUOph/uSPiowo9Xxbyn8qRPl24lZfyA2oVDVffa2Wv9kWwys/pBk9LgF 3LiZbrUQNC954uTE/kAeyTA3I1cGDigbR9I2xmKglvJ+D6rmUVOYgt2CWtEsV9oKgY7R X0uHXiuKxGIIzBQVguowyNMgFQjs2Ji9iR30pFdU4ECYPzPSI/SYXWd7bFFPoe+KozIi 1/dPoGeoGV0jG5hJhGnmVJsIuT940evywa5nuDOizjmURZ6wAJP3Dxam5z/fBJn61XfU Nc7Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yvoQanaWTpWNQEXwywlAc7o43dgHa3QRlp1C/cAGUU4=; b=Ndu9104XFDLMUQxHQv4SjT3K5+7TiG3MEkPN+TbLdG+pjIAiVAUOKaU9byARj+QjSA VSdrvRgDOnoh1EuI96q+/UrXuph7zGxIJKlf7cePMKMcUe4QXRg0f3vOfyc/SnV2lTRx sLGghldBGXDakmNe2eIe+A7OK1KEeWs0gdPu7XnWgFrY6331gfxYx6ExICn/bUDKbs5M fWZO9uG8FeIPpwAeHbVD715gd4t0xcp0GC5Md0tZ5PFeHE4xc356m/UW2kHmD1OJdYrc QHHRoBo6ww+ya8ZilbCRkj1sLoO+TIUA2RZNc0jBIv0HBiIYS3eoV/8IdSTPSYS5dmxq x9Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s03wRDxS; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz8si1089200edb.455.2020.08.26.02.36.57; Wed, 26 Aug 2020 02:36:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@linaro.org header.s=google header.b=s03wRDxS; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728523AbgHZJg4 (ORCPT + 2 others); Wed, 26 Aug 2020 05:36:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728382AbgHZJfJ (ORCPT ); Wed, 26 Aug 2020 05:35:09 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 815F3C061357 for ; Wed, 26 Aug 2020 02:34:34 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id d10so174118wrw.2 for ; Wed, 26 Aug 2020 02:34:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yvoQanaWTpWNQEXwywlAc7o43dgHa3QRlp1C/cAGUU4=; b=s03wRDxSuZJrkgF2oUckm/dxkHDlEzj7UzMo4Rqm6Jg4UF21WboPJXhBjmsdYI44VB T80Qv+u/ejdXfR88W2SGz656OtO/FWRBPOKx1iuuWvDdQrNMTfC5JE0nyJWAnusYydDc GOPazXC8CxR2wMTlSrN063oegcaXdEmuxL7OHTkh89TSmAWGWQJIp8QMfdTY51HreW3U kc8nEWXR50Oqtd60Nj305DBmXokL7F6Yf9ZUX0h/JTqLq9oSZV5GdQmUxXwIKir3clme AOdeWWnagZRvMsJg5BwaVzJpqvtcPMKSGuJ6WkwKZbXsyz1GFTc1PqqJ+D0GvAOe2vAZ 2yhg== 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=yvoQanaWTpWNQEXwywlAc7o43dgHa3QRlp1C/cAGUU4=; b=dEXqJKe0YsEkH57vADea7qO8mnSmI2HjqVoMOmtItyANTI828Se9499cYh2NgrjLnB oszNg9h7J30uAEbQi/+KvlZAidJp9lSpdT6t1VkQXDrAr6oYjALfr85VceQuDxyWLmc1 4eTltriWkgtcQ2n8KqWE5iIJAOtgyTHqFqybjlaEXvNDhdDCyJFKcte5ABnxTcsV1Vqz Kb8V3ZmkSzAeWR/lw5QYk0VrDnZmohoLTHwxZFV9UOD7vUA2xMLhxkirimm8/6l4wiyN Vh3iZ7Sv5rO2mA8tCtxz1vnOlDl4Ng6JGskEAuhmdfa3v9DeOPApST14fh5ySj+3w9Dz 6xzg== X-Gm-Message-State: AOAM531/z62qy335ySuLv+7tB6rthqfXTKGMgE86/bfqF6dcE5IWOpE+ K3qHqZyGO7nAH4QOfFfwJsSOAA== X-Received: by 2002:a5d:43ca:: with SMTP id v10mr14464274wrr.299.1598434473214; Wed, 26 Aug 2020 02:34:33 -0700 (PDT) Received: from dell.default ([95.149.164.62]) by smtp.gmail.com with ESMTPSA id u3sm3978759wml.44.2020.08.26.02.34.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 02:34:32 -0700 (PDT) From: Lee Jones To: kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Lee Jones , Luis Chamberlain , Aurelien Alleaume , Valerio Riedel , "Luis R. Rodriguez" Subject: [PATCH 23/30] wireless: intersil: prism54: isl_ioctl: Remove unused variable 'j' Date: Wed, 26 Aug 2020 10:33:54 +0100 Message-Id: <20200826093401.1458456-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200826093401.1458456-1-lee.jones@linaro.org> References: <20200826093401.1458456-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/wireless/intersil/prism54/isl_ioctl.c: In function ‘prism54_update_stats’: drivers/net/wireless/intersil/prism54/isl_ioctl.c:166:6: warning: variable ‘j’ set but not used [-Wunused-but-set-variable] Cc: Luis Chamberlain Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Aurelien Alleaume Cc: Valerio Riedel Cc: "Luis R. Rodriguez" Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- drivers/net/wireless/intersil/prism54/isl_ioctl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/intersil/prism54/isl_ioctl.c b/drivers/net/wireless/intersil/prism54/isl_ioctl.c index 3ccf2a4b548c6..5c49b9e52a0c4 100644 --- a/drivers/net/wireless/intersil/prism54/isl_ioctl.c +++ b/drivers/net/wireless/intersil/prism54/isl_ioctl.c @@ -163,7 +163,6 @@ prism54_update_stats(struct work_struct *work) { islpci_private *priv = container_of(work, islpci_private, stats_work); char *data; - int j; struct obj_bss bss, *bss2; union oid_res_t r; @@ -187,7 +186,7 @@ prism54_update_stats(struct work_struct *work) kfree(data); /* now ask for the corresponding bss */ - j = mgt_get_request(priv, DOT11_OID_BSSFIND, 0, (void *) &bss, &r); + mgt_get_request(priv, DOT11_OID_BSSFIND, 0, (void *) &bss, &r); bss2 = r.ptr; /* report the rssi and use it to calculate * link quality through a signal-noise