|
@@ -209,9 +209,7 @@ struct net_device *bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code)
|
|
|
void bnxt_vf_rep_rx(struct bnxt *bp, struct sk_buff *skb)
|
|
|
{
|
|
|
struct bnxt_vf_rep *vf_rep = netdev_priv(skb->dev);
|
|
|
- struct bnxt_vf_rep_stats *rx_stats;
|
|
|
|
|
|
- rx_stats = &vf_rep->rx_stats;
|
|
|
vf_rep->rx_stats.bytes += skb->len;
|
|
|
vf_rep->rx_stats.packets++;
|
|
|
|