[PATCH -next] powerpc/spider-pci: Remove set but not used variable 'val'

Arnd Bergmann arnd at arndb.de
Tue Jun 15 18:18:08 AEST 2021


On Tue, Jun 1, 2021 at 10:53 AM Baokun Li <libaokun1 at 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 at huawei.com>

LGTM

Acked-by: Arnd Bergmann <arnd at arndb.de>


More information about the Linuxppc-dev mailing list