diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-07-28 01:11:12 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-29 22:30:34 +1000 |
commit | cf1ae052e073c7ef6cf1a783a6427f7228253bd3 (patch) | |
tree | 9500b424828a82e58d22afef8121bee1d8e1897a /tools/testing/selftests/powerpc/benchmarks/context_switch.c | |
parent | powerpc: use for_each_child_of_node() macro (diff) | |
download | linux-dev-cf1ae052e073c7ef6cf1a783a6427f7228253bd3.tar.xz linux-dev-cf1ae052e073c7ef6cf1a783a6427f7228253bd3.zip |
powerpc/powernv/sriov: Remove unused but set variable 'phb'
Gcc report warning as follows:
arch/powerpc/platforms/powernv/pci-sriov.c:602:25: warning:
variable 'phb' set but not used [-Wunused-but-set-variable]
602 | struct pnv_phb *phb;
| ^~~
This variable is not used, so this commit removing it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200727171112.2781-1-weiyongjun1@huawei.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions