summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPhilipp Stanner <phasta@kernel.org>2025-03-24 12:29:28 +0300
committerJakub Kicinski <kuba@kernel.org>2025-03-25 20:36:45 +0300
commit9db2426a324ea4aceea071b3069108840a3fa3fe (patch)
treeaa9b473aa148fdfb4ccd7e0752f3b3c945d96663 /tools/perf/scripts/python/stackcollapse.py
parent071ccde6e511e3d82dfcc6d9caf40155a33d7428 (diff)
downloadlinux-9db2426a324ea4aceea071b3069108840a3fa3fe.tar.xz
stmmac: loongson: Remove surplus loop
loongson_dwmac_probe() contains a loop which doesn't have an effect, because it tries to call pcim_iomap_regions() with the same parameters several times. The break statement at the loop's end furthermore ensures that the loop only runs once anyways. Remove the surplus loop. Signed-off-by: Philipp Stanner <phasta@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Yanteng Si <si.yanteng@linux.dev> Reviewed-by: Huacai Chen <chenhuacai@loongson.cn> Tested-by: Henry Chen <chenx97@aosc.io> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20250324092928.9482-4-phasta@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions