patch-2.1.31 linux/drivers/net/arcnet.c
Next file: linux/drivers/net/ariadne.c
Previous file: linux/drivers/net/apricot.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Mon Mar 31 12:52:30 1997
-  Orig file: 
v2.1.30/linux/drivers/net/arcnet.c
-  Orig date: 
Sun Feb  2 05:18:36 1997
diff -u --recursive --new-file v2.1.30/linux/drivers/net/arcnet.c linux/drivers/net/arcnet.c
@@ -1568,17 +1568,6 @@
 		return 1;
 	}
 
-	/* 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) {
-		BUGMSG(D_NORMAL,"tx passed null skb (status=%Xh, inTX=%d, tickssofar=%ld)\n",
-			ARCSTATUS,lp->intx,jiffies-dev->trans_start);
-		lp->stats.tx_errors++;
-		dev_tint(dev);
-		return 0;
-	}
-
 	if (lp->txready)	/* transmit already in progress! */
 	{
 		BUGMSG(D_NORMAL,"trying to start new packet while busy! (status=%Xh)\n",
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov