diff options
author | Mintz, Yuval <Yuval.Mintz@cavium.com> | 2017-01-01 14:57:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-02 05:02:14 +0300 |
commit | 04e0fd006a9a670f557815b29ea89ffdac667c4d (patch) | |
tree | 6a3e900ab6e8543e343ca6a8852dce7aa4c2b498 | |
parent | 7ca547bdb00e3b162e8ed2889161b93eba9def0b (diff) | |
download | linux-04e0fd006a9a670f557815b29ea89ffdac667c4d.tar.xz |
qede: Remove unnecessary datapath dereference
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/qlogic/qede/qede_fp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |