Re: [PATCH -next] powerpc/spider-pci: Remove set but not used variable 'val'
From: Arnd Bergmann
Date: Tue Jun 15 2021 - 04:20:21 EST
On Tue, Jun 1, 2021 at 10:53 AM Baokun Li <libaokun1@xxxxxxxxxx> 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@xxxxxxxxxx>
LGTM
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>