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
- Lines: 27
- Date:
Mon Mar 31 12:52:30 1997
- Orig file:
v2.1.30/linux/drivers/net/de600.c
- Orig date:
Sun Feb 2 05:18:37 1997
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