aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/rionet.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2009-06-19 20:53:25 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-05 22:15:35 -0400
commit0e8635a8e1f2d4a9e1bfc6c3b21419a5921e674f (patch)
treefe9a6f5d21259e51d0ac87f00787b32248f2851a /drivers/net/rionet.c
parent6b1344724e10c166d9e3c17011ed879ddf302e94 (diff)
net: remove NET_RX_BAD and NET_RX_CN* defines
almost no users in the tree; and the few that use them treat them like NET_RX_DROP. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/rionet.c')
-rw-r--r--drivers/net/rionet.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/rionet.c b/drivers/net/rionet.c
index 8702e7acdee6..74cdb6f8f84f 100644
--- a/drivers/net/rionet.c
+++ b/drivers/net/rionet.c
@@ -114,11 +114,6 @@ static int rionet_rx_clean(struct net_device *ndev)
114 114
115 if (error == NET_RX_DROP) { 115 if (error == NET_RX_DROP) {
116 ndev->stats.rx_dropped++; 116 ndev->stats.rx_dropped++;
117 } else if (error == NET_RX_BAD) {
118 if (netif_msg_rx_err(rnet))
119 printk(KERN_WARNING "%s: bad rx packet\n",
120 DRV_NAME);
121 ndev->stats.rx_errors++;
122 } else { 117 } else {
123 ndev->stats.rx_packets++; 118 ndev->stats.rx_packets++;
124 ndev->stats.rx_bytes += RIO_MAX_MSG_SIZE; 119 ndev->stats.rx_bytes += RIO_MAX_MSG_SIZE;