|
@@ -926,14 +926,10 @@ static int ravb_poll(struct napi_struct *napi, int budget)
|
|
|
/* Receive error message handling */
|
|
|
priv->rx_over_errors = priv->stats[RAVB_BE].rx_over_errors;
|
|
|
priv->rx_over_errors += priv->stats[RAVB_NC].rx_over_errors;
|
|
|
- if (priv->rx_over_errors != ndev->stats.rx_over_errors) {
|
|
|
+ if (priv->rx_over_errors != ndev->stats.rx_over_errors)
|
|
|
ndev->stats.rx_over_errors = priv->rx_over_errors;
|
|
|
- netif_err(priv, rx_err, ndev, "Receive Descriptor Empty\n");
|
|
|
- }
|
|
|
- if (priv->rx_fifo_errors != ndev->stats.rx_fifo_errors) {
|
|
|
+ if (priv->rx_fifo_errors != ndev->stats.rx_fifo_errors)
|
|
|
ndev->stats.rx_fifo_errors = priv->rx_fifo_errors;
|
|
|
- netif_err(priv, rx_err, ndev, "Receive FIFO Overflow\n");
|
|
|
- }
|
|
|
out:
|
|
|
return budget - quota;
|
|
|
}
|