]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: cleanup for bcmgenet_xmit_frag()
authorPetri Gynther <pgynther@google.com>
Tue, 5 Apr 2016 21:00:00 +0000 (14:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Apr 2016 23:33:51 +0000 (19:33 -0400)
commitc03dfa435f3e6d0d57207eee7468f6caf735c22d
treefc2eb5912c7d29e663654d88e7164c091b3c8f75
parent9360d2f03a53be581c08cd246180f0d9ff928c36
net: bcmgenet: cleanup for bcmgenet_xmit_frag()

Add frag_size = skb_frag_size(frag) and use it when needed.

Signed-off-by: Petri Gynther <pgynther@google.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c