summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/qede
diff options
context:
space:
mode:
authorMintz, Yuval <Yuval.Mintz@cavium.com>2017-01-01 14:57:06 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-02 05:02:14 +0300
commit04e0fd006a9a670f557815b29ea89ffdac667c4d (patch)
tree6a3e900ab6e8543e343ca6a8852dce7aa4c2b498 /drivers/net/ethernet/qlogic/qede
parent7ca547bdb00e3b162e8ed2889161b93eba9def0b (diff)
downloadlinux-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>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qede')
-rw-r--r--drivers/net/ethernet/qlogic/qede/qede_fp.c2
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,