OSDN Git Service

xen-netback: use local var in xenvif_tx_check_gop() instead of re-calculating
authorJan Beulich <jbeulich@suse.com>
Thu, 25 Feb 2021 15:39:01 +0000 (16:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Mar 2021 21:05:08 +0000 (13:05 -0800)
commit826d82170b539f16e1955ab940222543c012044e
treef93c52cfd8d5a584c07ccd4bb31bf92a2205fb24
parent73f476aa1975bae6a792b340f5b26ffcfba869a6
xen-netback: use local var in xenvif_tx_check_gop() instead of re-calculating

shinfo already holds the result of skb_shinfo(skb) at this point - no
need to re-invoke the construct even twice.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c