From: Mintz, Yuval Date: Sun, 1 Jan 2017 11:57:06 +0000 (+0200) Subject: qede: Remove unnecessary datapath dereference X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=04e0fd006a9a670f557815b29ea89ffdac667c4d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git qede: Remove unnecessary datapath dereference Signed-off-by: Yuval Mintz Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/qlogic/qede/qede_fp.c b/drivers/net/ethernet/qlogic/qede/qede_fp.c index dddae1e21bf0..1a6ca4884fad 100644 --- a/drivers/net/ethernet/qlogic/qede/qede_fp.c +++ b/drivers/net/ethernet/qlogic/qede/qede_fp.c @@ -622,7 +622,7 @@ static inline void qede_skb_receive(struct qede_dev *edev, __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); napi_gro_receive(&fp->napi, skb); - fp->rxq->rcv_pkts++; + rxq->rcv_pkts++; } static void qede_set_gro_params(struct qede_dev *edev,