From: Michael Ellerman <patch-notifications@ellerman.id.au>
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 <libaokun1@huawei.com>
Cc: yuehaibing@huawei.com, yangjihong1@huawei.com,
yukuai3@huawei.com, weiyongjun1@huawei.com
Subject: Re: [PATCH -next] powerpc/spider-pci: Remove set but not used variable 'val'
Date: Fri, 18 Jun 2021 13:51:28 +1000 [thread overview]
Message-ID: <162398828887.1363949.15561402899101847554.b4-ty@ellerman.id.au> (raw)
In-Reply-To: <20210601085319.140461-1-libaokun1@huawei.com>
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
prev parent reply other threads:[~2021-06-18 4:24 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
2021-06-18 3:51 ` Michael Ellerman [this message]
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=162398828887.1363949.15561402899101847554.b4-ty@ellerman.id.au \
--to=patch-notifications@ellerman.id.au \
--cc=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).