ibmvnic: Use 'skb_frag_address()' instead of hand coding it
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 4 Apr 2021 08:54:37 +0000 (10:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Apr 2021 18:55:44 +0000 (11:55 -0700)
commitc3105f8485775943b2ccde09c7163510c161c965
tree57a2342a54ab75a8224a390ad400d3a8799a26a2
parent0282bc6ae86d84b035afac792b5d5ff67707cdd2
ibmvnic: Use 'skb_frag_address()' instead of hand coding it

'page_address(skb_frag_page()) + skb_frag_off()' can be replaced by an
equivalent 'skb_frag_address()' which is less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c