summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorXinghui Li <korantli@tencent.com>2023-06-27 14:38:08 +0300
committerKrzysztof Wilczyński <kwilczynski@kernel.org>2023-09-18 17:08:30 +0300
commit4c64d708f99378e6719294cc63a77adf8eeb82b4 (patch)
treefb566f1d892bb0f1a5b0a4f05f252e6bef22937e /tools/perf/scripts/python/stackcollapse.py
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
downloadlinux-4c64d708f99378e6719294cc63a77adf8eeb82b4.tar.xz
PCI: vmd: Fix inconsistent indentation in vmd_resume()
The if-statement within the vmd_resume() function has an inconsistent indentation that leads to a compile time warning. Thus, correct the inconsistent indentation. While at it, remove the if-statement completely, which will make the code simpler. This was detected by Smatch: drivers/pci/controller/vmd.c:1066 vmd_resume() warn: inconsistent indenting No functional changes are intended. [kwilczynski: use correct tags, commit log] Suggested-by: Christoph Hellwig <hch@infradead.org> Link: https://lore.kernel.org/linux-pci/20230627113808.269716-1-korantwork@gmail.com Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Xinghui Li <korantli@tencent.com> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions