patch-2.1.67 linux/drivers/net/ni52.c

Next file: linux/drivers/net/pcnet32.c
Previous file: linux/drivers/net/ni5010.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.66/linux/drivers/net/ni52.c linux/drivers/net/ni52.c
@@ -1155,14 +1155,6 @@
 		return 0;
 	}
 
-	if(skb == NULL)
-	{
-		dev_tint(dev);
-		return 0;
-	}
-
-	if (skb->len <= 0)
-		return 0;
 	if(skb->len > XMIT_BUFF_SIZE)
 	{
 		printk("%s: Sorry, max. framelength is %d bytes. The length of your frame is %d bytes.\n",dev->name,XMIT_BUFF_SIZE,skb->len);

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