patch-2.1.31 linux/drivers/net/de600.c

Next file: linux/drivers/net/de620.c
Previous file: linux/drivers/net/de4x5.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.30/linux/drivers/net/de600.c linux/drivers/net/de600.c
@@ -109,7 +109,7 @@
 #include <linux/etherdevice.h>
 #include <linux/skbuff.h>
 
-unsigned int de600_debug = DE600_DEBUG;
+static unsigned int de600_debug = DE600_DEBUG;
 MODULE_PARM(de600_debug, "i");
 
 #ifdef FAKE_SMALL_MAX
@@ -401,17 +401,6 @@
 	int	len;
 	int	tickssofar;
 	byte	*buffer = skb->data;
-
-	/*
-	 * If some higher layer thinks we've missed a
-	 * tx-done interrupt we are passed NULL.
-	 * Caution: dev_tint() handles the cli()/sti() itself.
-	 */
-
-	if (skb == NULL) {
-		dev_tint(dev);
-		return 0;
-	}
 
 	if (free_tx_pages <= 0) {	/* Do timeouts, to avoid hangs. */
 		tickssofar = jiffies - dev->trans_start;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov