qede: Remove unnecessary datapath dereference
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Sun, 1 Jan 2017 11:57:06 +0000 (13:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Jan 2017 02:02:14 +0000 (21:02 -0500)
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_fp.c

index dddae1e21bf06950d45502747250b281fc10acd6..1a6ca4884fade141d87f8bde912a1990d9a6e847 100644 (file)
@@ -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,