Thread (4 messages) 4 messages, 3 authors, 2021-06-18

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

flat view

From: Arnd Bergmann <arnd@arndb.de>
Date: 2021-06-15 08:20:21
Also in: lkml

On Tue, Jun 1, 2021 at 10:53 AM Baokun Li [off-list ref] 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 <redacted>
LGTM

Acked-by: Arnd Bergmann <arnd@arndb.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help