.org/torvalds/c/f377f7da26d2af87e2ddc39190546f62ecdb2bd8
> Author: Baokun Li
> AuthorDate: Tue Jun 1 16:53:19 2021 +0800
> Committer: Michael Ellerman
> CommitDate: Tue Jun 15 17:12:27 2021 +1000
>
> powerpc/spider-pci: Remove set but not used variable 'val'
>
> Fixes gcc
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
On Tue, Jun 1, 2021 at 10:53 AM 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
ping
在 2021/6/1 16:53, Baokun Li 写道:
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 sinc
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 L