]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/spider-pci: Remove set but not used variable 'val'
authorBaokun Li <libaokun1@huawei.com>
Tue, 1 Jun 2021 08:53:19 +0000 (16:53 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Jun 2021 07:12:27 +0000 (17:12 +1000)
commit72c66e49588bcc6807b5b740a15848f934d8eefa
treea84b669d696cb4b7c57b0a023aace467377d407a
parent6d041e65d45f5e1f381ca33d3f9f8c0e6db4c7fe
powerpc/spider-pci: Remove set but not used variable 'val'

Fixes gcc '-Wunused-but-set-variable' warning:
# WARNING: Fixes tag on line 3 doesn't match correct format
# WARNING: Fixes tag on line 3 doesn't match correct format
# WARNING: Fixes tag on line 3 doesn't match correct format
# WARNING: Fixes tag on line 3 doesn't match correct format
# WARNING: Fixes tag on line 3 doesn't match correct format
# WARNING: Fixes tag on line 3 doesn't match correct format

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@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210601085319.140461-1-libaokun1@huawei.com
arch/powerpc/platforms/cell/spider-pci.c