aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/rionet.c5
-rw-r--r--drivers/net/wan/farsync.c19
2 files changed, 0 insertions, 24 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;
diff --git a/drivers/net/wan/farsync.c b/drivers/net/wan/farsync.c
index 25c9ef6a1815..90c0a317d9d3 100644
--- a/drivers/net/wan/farsync.c
+++ b/drivers/net/wan/farsync.c
@@ -792,25 +792,6 @@ fst_process_rx_status(int rx_status, char *name)
792 */ 792 */
793 break; 793 break;
794 } 794 }
795
796 case NET_RX_CN_LOW:
797 {
798 dbg(DBG_ASS, "%s: Receive Low Congestion\n", name);
799 break;
800 }
801
802 case NET_RX_CN_MOD:
803 {
804 dbg(DBG_ASS, "%s: Receive Moderate Congestion\n", name);
805 break;
806 }
807
808 case NET_RX_CN_HIGH:
809 {
810 dbg(DBG_ASS, "%s: Receive High Congestion\n", name);
811 break;
812 }
813
814 case NET_RX_DROP: 795 case NET_RX_DROP:
815 { 796 {
816 dbg(DBG_ASS, "%s: Received packet dropped\n", name); 797 dbg(DBG_ASS, "%s: Received packet dropped\n", name);