summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2025-10-14 17:25:14 +0200
committerJakub Kicinski <kuba@kernel.org>2025-10-16 16:59:28 -0700
commitb5fe4f3e5912d79832bc37b207234aaf84c1b789 (patch)
treef439d6bdd2cc934047bfec5743ae05d0ad4afda2 /tools/perf/scripts/python/stackcollapse.py
parent027202adf07952d9b4d7a3199fe1014a537e7a81 (diff)
net: macb: drop `count` local variable in macb_tx_map()
Local variable `count` is useless: it counts number of DMA descriptors used and returns it. But the return value is only checked for error. Drop counting the number of DMA descriptors and return a usual negative-if-error integer. Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com> Link: https://patch.msgid.link/20251014-macb-cleanup-v1-13-31cd266e22cd@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions