diff options
author | Wei Yongjun <[email protected]> | 2020-07-28 01:11:12 +0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-07-29 22:30:34 +1000 |
commit | cf1ae052e073c7ef6cf1a783a6427f7228253bd3 (patch) | |
tree | 9500b424828a82e58d22afef8121bee1d8e1897a /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | b6ac59d39a348af29477d7bfdc3ba23526e3f4ea (diff) |
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 <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Oliver O'Halloran <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions