aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/loopback.c
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 /drivers/net/loopback.c
parentnet: stmmac: tc: Remove the speed dependency (diff)
downloadlinux-dev-88ebe2cf7f3fc9da95e0f06483fd58da3e67e675.tar.xz
linux-dev-88ebe2cf7f3fc9da95e0f06483fd58da3e67e675.zip
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 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions