aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2022-05-23 10:55:20 +0200
committerArnd Bergmann <[email protected]>2022-05-27 16:02:21 +0200
commit526f3f3b102f05e97d5e51fb0dcf5037c7be9722 (patch)
tree8049450597d88870d0baad0c8092420ada313034 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent75577fbecb2e6e5f633445f01006886c51dc7e76 (diff)
soc: ixp4xx/qmgr: Fix unused match warning
The kernel test robot found this inconsistency: >> drivers/soc/ixp4xx/ixp4xx-npe.c:737:34: warning: 'ixp4xx_npe_of_match' defined but not used [-Wunused-const-variable=] 737 | static const struct of_device_id ixp4xx_npe_of_match[] = { This is because the match is enclosed in the of_match_ptr() which compiles into NULL when OF is disabled and this is unnecessary. Fix it by dropping of_match_ptr() around the match. Reported-by: kernel test robot <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected]' Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions