Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp334250ybc; Fri, 15 Nov 2019 23:54:24 -0800 (PST) X-Google-Smtp-Source: APXvYqwciW2tFfdV9pTlSYtuZEFeWesbVSoDAs+9dBkr8Lp4bphkRudzOmfgKW05EhNR+Uu8W0OL X-Received: by 2002:a17:906:8307:: with SMTP id j7mr7387093ejx.171.1573890864031; Fri, 15 Nov 2019 23:54:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573890864; cv=none; d=google.com; s=arc-20160816; b=zaH+vR0Ldl4uHoo6OqY9OiCatRgAhAHwLsezYcRJgRfhZtRH4Mlz/iPV3OY7rQudB7 pZiCPynEGreUbI47rd+U1ErOrMf46fpXVdcHjP2aCYyE+BlLJ/coAswUj9KFFymHoVZZ wUMA4L6u/EJjmUDpzX4UZXG1k/W40/cc4BJkBO3gBelhjnhKOLafc8a/PXrzrxU/kRdT akGJw6uk4R/mGQ4xRoyRwRBM7maMY5NGq2HPAs2B4qkGXaaU9AI7mMfhAsMMpozAvyGr M6hutsLaLGLlOpht411b4S9lCxiuwpT0vYwWqagQWbQSZRN297bzUUbj44HB/e+ri2g/ DJcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature; bh=qZXF9/zJxe4sA/i1IyCu14oRZo/KHZz3jmNVuhAg1gg=; b=gax9KS3kn2hVNNc4xXy5Cu3SG3ZD+JFr3phH9l9BcGJqrleDkYRpHxYDw4+73N86WO H7g09FPBlnKecInoCpbG7BT0XmX/cQa984PLD8VAi0lYzJfNpwbbdIPWrmv2s7Nu2A4Q RgihnSaYFBQnfWBdvZrXDZan9qPXQWJ8KUicWshl5xEnz2JIjDcCCWGWgjnGMXPyOzLh C7Iw6atWOXZeV3SLI+JRM50GZ277Z2pRQzfenDJZSl7xftQ4jZs5QtJ/rTY2p21NwAnw PzotRuWPGoeLiBI0lG0tZPYvCgikP3w0nKIM4w0tv9/hmvpHeNKw/pyMVe7plOGq6L+U xS9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=bWuhGVJL; dkim=pass header.i=@codeaurora.org header.s=default header.b=E47RPSOn; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d25si8673344edb.19.2019.11.15.23.53.58; Fri, 15 Nov 2019 23:54:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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=@codeaurora.org header.s=default header.b=bWuhGVJL; dkim=pass header.i=@codeaurora.org header.s=default header.b=E47RPSOn; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727399AbfKPHwC (ORCPT + 99 others); Sat, 16 Nov 2019 02:52:02 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:57548 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726034AbfKPHwC (ORCPT ); Sat, 16 Nov 2019 02:52:02 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 52E1C61014; Sat, 16 Nov 2019 07:52:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573890721; bh=5IbSK3rPZdO2NHSKbA3WuCwgwfaJIOSGDuXA+44GJho=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bWuhGVJLEBVRgDPzKuNhBYS2BIJsLzGPAw5zdHwlwCBs5UwwQjL0M3J6MpaPvy3HX B42kyL9y9G92FrYsv9pZX0bhG/uMIAIbmG5M/9NPOClKPQ687qctvJhUVVQlGka8dc B5T/CDCHaoCxM9hzh5VjW6WW4mpKRRRWwKtP9aL8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from x230.qca.qualcomm.com (176-93-0-138.bb.dnainternet.fi [176.93.0.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5E1B160B19; Sat, 16 Nov 2019 07:51:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573890720; bh=5IbSK3rPZdO2NHSKbA3WuCwgwfaJIOSGDuXA+44GJho=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=E47RPSOnWqjf/4i9ypO3VEv8ZuI3yFs+hphAF0L2hcVQggrVZbyN5CzDn1szTKj1z VGDslsqWHwFLnIoITRxjzXn5RMUA++E/XnMVTUFlrTQluZMi2pghQbJoZZMJftV1hU 7xGS7/EJm6djf8bfc4gqN9Us0fVgwxBpw7spo1eU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5E1B160B19 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: zhengbin Cc: , , , Subject: Re: [PATCH -next 2/2] ipw2x00: remove set but not used variable 'force_update' References: <1573890083-33761-1-git-send-email-zhengbin13@huawei.com> <1573890083-33761-3-git-send-email-zhengbin13@huawei.com> Date: Sat, 16 Nov 2019 09:51:57 +0200 In-Reply-To: <1573890083-33761-3-git-send-email-zhengbin13@huawei.com> (zhengbin's message of "Sat, 16 Nov 2019 15:41:23 +0800") Message-ID: <87tv74uule.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org zhengbin writes: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/intel/ipw2x00/ipw2100.c: In function shim__set_security: > drivers/net/wireless/intel/ipw2x00/ipw2100.c:5582:9: warning: variable force_update set but not used [-Wunused-but-set-variable] > > It is introduced by commit 367a1092b555 ("ipw2x00: > move under intel vendor directory"), but never used, so remove it. Same here, I'll remove this sentence as well. -- Kalle Valo