Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1171570pxj; Fri, 18 Jun 2021 00:50:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFhyQ4dZ/LviFPR6EEQ+5obpQGrcnTXlNd/vFKifNYZhoVoYwsdAXFU5SwL1IKzXq0bqoN X-Received: by 2002:a05:6638:3471:: with SMTP id q49mr2090820jav.23.1624002648039; Fri, 18 Jun 2021 00:50:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624002648; cv=none; d=google.com; s=arc-20160816; b=nzxOWtaPlC8KSm6cQYvDQeV7xbEG2I7FkDLgTQhKXGlYuwCOt4imZowhXeJjRaqZ8H DJVaykL9e0y+48HsFjPkbzbMSqlbxIGdjzw6oumodj54fHVExCF1MtVfLEZUxws/TnoX Zj9Y2BxNZoLz06+UJZ+W3qw27DAJSNXkTM59B4AT8UKnf1lZKHwZubv9WDcb2/Mq0hbr G47Ooe4algI6Iy7U3EGb3thJcZl098JWP/ZS46UZRRcMPpAa5u+PbNOtYWEbiF4IY39b NcqSB8qths1izVnB2dGne0xB6sQsyC1VGH75PSdDi08ix2C+lx7sWFAeeClAxj2HCwbT zTcw== 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:date :message-id:subject:references:in-reply-to:cc:to:from; bh=F2Uh+aSiMC3ADX26+aXkguZeQVt5vfFDkbUwRTE5Gnk=; b=VCZljpmwdUlIPSpXtcVJ/HKQR/cNxmKlKoUTW6WmoT4FwMjtZHj95z5B2UdLOl0xqy ys+tOgi6eRI4AufHAWCrnsGQpNzAIaMvSgmd7MZbjDEtOYRgT4kUjXdjNQqA9KlltOht nWI1wczfBRrfY/OUaCimp0prWdUoMYH71qqCBQA9BorQb6HsqMeC2Is3TvvTcdBVIAkZ BvovnxnnxsXXUkYLIV1GQff9NRqmbOJFOEjSh+nedUuO19ICtlnoZa43IgRdOdKoveoO nOQs0Gop01h51JvoCVHj5se9P1Jvt4iHxb2LnMfp0EMrbYPVLoFM3lrlEdsGuaeRH91r mvtA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c2si850760ilr.135.2021.06.18.00.50.34; Fri, 18 Jun 2021 00:50:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232426AbhFRE0J (ORCPT + 99 others); Fri, 18 Jun 2021 00:26:09 -0400 Received: from ozlabs.org ([203.11.71.1]:55715 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231903AbhFREZN (ORCPT ); Fri, 18 Jun 2021 00:25:13 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 4G5m4R16CSz9t0T; Fri, 18 Jun 2021 14:23:02 +1000 (AEST) From: Michael Ellerman To: linuxppc-dev@lists.ozlabs.org, paulus@samba.org, arnd@arndb.de, mpe@ellerman.id.au, benh@kernel.crashing.org, linux-kernel@vger.kernel.org, Baokun Li Cc: yuehaibing@huawei.com, yangjihong1@huawei.com, yukuai3@huawei.com, weiyongjun1@huawei.com In-Reply-To: <20210601085319.140461-1-libaokun1@huawei.com> References: <20210601085319.140461-1-libaokun1@huawei.com> Subject: Re: [PATCH -next] powerpc/spider-pci: Remove set but not used variable 'val' Message-Id: <162398828887.1363949.15561402899101847554.b4-ty@ellerman.id.au> Date: Fri, 18 Jun 2021 13:51:28 +1000 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 On Tue, 1 Jun 2021 16:53:19 +0800, Baokun Li wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > arch/powerpc/platforms/cell/spider-pci.c: In function 'spiderpci_io_flush': > arch/powerpc/platforms/cell/spider-pci.c:28:6: warning: > variable ‘val’ set but not used [-Wunused-but-set-variable] > > It never used since introduction. Applied to powerpc/next. [1/1] powerpc/spider-pci: Remove set but not used variable 'val' https://git.kernel.org/powerpc/c/f377f7da26d2af87e2ddc39190546f62ecdb2bd8 cheers