From: Arnd Bergmann <arnd@arndb.de>
To: Baokun Li <libaokun1@huawei.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Wei Yongjun <weiyongjun1@huawei.com>,
YueHaibing <yuehaibing@huawei.com>,
yangjihong1@huawei.com, Yu Kuai <yukuai3@huawei.com>
Subject: Re: [PATCH -next] powerpc/spider-pci: Remove set but not used variable 'val'
Date: Tue, 15 Jun 2021 10:18:08 +0200 [thread overview]
Message-ID: <CAK8P3a2eAcyATVtzo7djRkkuTuS_b3gshCTyboV6oUzoqHnt-A@mail.gmail.com> (raw)
In-Reply-To: <20210601085319.140461-1-libaokun1@huawei.com>
On Tue, Jun 1, 2021 at 10:53 AM Baokun Li <libaokun1@huawei.com> 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.
>
> Signed-off-by: Baokun Li <libaokun1@huawei.com>
LGTM
Acked-by: Arnd Bergmann <arnd@arndb.de>
next prev parent reply other threads:[~2021-06-15 8:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-01 8:53 [PATCH -next] powerpc/spider-pci: Remove set but not used variable 'val' Baokun Li
2021-06-15 2:00 ` libaokun (A)
2021-06-15 8:18 ` Arnd Bergmann [this message]
2021-06-18 3:51 ` Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAK8P3a2eAcyATVtzo7djRkkuTuS_b3gshCTyboV6oUzoqHnt-A@mail.gmail.com \
--to=arnd@arndb.de \
--cc=benh@kernel.crashing.org \
--cc=libaokun1@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
--cc=weiyongjun1@huawei.com \
--cc=yangjihong1@huawei.com \
--cc=yuehaibing@huawei.com \
--cc=yukuai3@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).