Fix indentation and remove duplicate queue stopped stats increment.
Found by: Ryan Stone <rysto32@gmail.com> Sponsored by: Mellanox Technologies MFC after: 1 week
This commit is contained in:
parent
1d6dfd1230
commit
b133b47342
@ -714,7 +714,6 @@ static int mlx4_en_xmit(struct mlx4_en_priv *priv, int tx_ind, struct mbuf **mbp
|
||||
atomic_set_int(&ifp->if_drv_flags, IFF_DRV_OACTIVE);
|
||||
priv->port_stats.queue_stopped++;
|
||||
ring->blocked = 1;
|
||||
priv->port_stats.queue_stopped++;
|
||||
ring->queue_stopped++;
|
||||
|
||||
/* Use interrupts to find out when queue opened */
|
||||
|
Loading…
x
Reference in New Issue
Block a user