summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThéo Lebrun <theo.lebrun@bootlin.com>2025-10-14 18:25:14 +0300
committerJakub Kicinski <kuba@kernel.org>2025-10-17 02:59:28 +0300
commitb5fe4f3e5912d79832bc37b207234aaf84c1b789 (patch)
treef439d6bdd2cc934047bfec5743ae05d0ad4afda2 /include/linux
parent027202adf07952d9b4d7a3199fe1014a537e7a81 (diff)
downloadlinux-b5fe4f3e5912d79832bc37b207234aaf84c1b789.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions