summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authoryangerkun <yangerkun@huawei.com>2021-06-07 09:47:02 +0800
committerHans de Goede <hdegoede@redhat.com>2021-06-16 17:47:55 +0200
commit8f44f316d1da2ad521e62028a812284bb72ef3d4 (patch)
tree73c21f9c6eb2ac6b0b967af73ccc347d46b5ce11 /tools/perf/scripts/python/stackcollapse.py
parent77d06ec65a281c5382f4ea2398a267dc3bd7bfe3 (diff)
platform/x86: intel_ips: fix set but unused warning in read_mgtv
drivers/platform/x86/intel_ips.c:832:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 832 | u16 ret; | ^~~ Fix it by mark ret as '__maybe_unused'. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: yangerkun <yangerkun@huawei.com> Link: https://lore.kernel.org/r/20210607014702.2981097-1-yangerkun@huawei.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions