summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJose Abreu <Jose.Abreu@synopsys.com>2019-11-11 15:42:38 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-11 23:13:19 -0800
commit88ebe2cf7f3fc9da95e0f06483fd58da3e67e675 (patch)
tree1fea76e1e0dec3ad792b2742b9e53084d59589d4 /include
parentbc41a6689b30abaf213c66ac574beefb6d02717c (diff)
downloadlinux-88ebe2cf7f3fc9da95e0f06483fd58da3e67e675.tar.bz2
net: stmmac: Rework stmmac_rx()
This looks over-engineered. Let's use some helpers to get the buffer length and hereby simplify the stmmac_rx() function. No performance drop was seen with the new implementation. Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions