summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2026-03-14 12:43:36 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-18 06:32:09 +0300
commit8cde3c87039b2a468d7e39ed6927403ce42fe55e (patch)
treead7a42f83955d42918dc42e182ac8545e32e2b54 /include/linux
parent0da7809235d9cc34de71c9c5bf5028cc3034f806 (diff)
downloadlinux-8cde3c87039b2a468d7e39ed6927403ce42fe55e.tar.xz
net: stmmac: use queue rather than ->queue_index
We use a lot of ->queue_index where we already have the queue / channel index (which are actually the same index), which has been used to get the queue struct. Since queue and queue_index are identical in priv->(tx|rx)_queue[queue]->queue_index there is no point using the queue_index where we already have queue. Use queue rather than queue_index. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1w1LWy-0000000DGT8-2Hoc@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions