patch-2.4.6 linux/drivers/isdn/hysdn/hysdn_net.c
Next file: linux/drivers/isdn/hysdn/hysdn_proclog.c
Previous file: linux/drivers/isdn/hysdn/hycapi.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Tue Jun 12 10:34:48 2001
- Orig file:
v2.4.5/linux/drivers/isdn/hysdn/hysdn_net.c
- Orig date:
Sat May 19 17:54:14 2001
diff -u --recursive --new-file v2.4.5/linux/drivers/isdn/hysdn/hysdn_net.c linux/drivers/isdn/hysdn/hysdn_net.c
@@ -1,4 +1,4 @@
-/* $Id: hysdn_net.c,v 1.8.6.2 2001/04/20 02:42:00 keil Exp $
+/* $Id: hysdn_net.c,v 1.8.6.3 2001/06/05 19:45:37 kai Exp $
* Linux driver for HYSDN cards, net (ethernet type) handling routines.
*
@@ -41,7 +41,7 @@
MODULE_PARM(hynet_enable, "i");
/* store the actual version for log reporting */
-char *hysdn_net_revision = "$Revision: 1.8.6.2 $";
+char *hysdn_net_revision = "$Revision: 1.8.6.3 $";
#define MAX_SKB_BUFFERS 20 /* number of buffers for keeping TX-data */
@@ -304,8 +304,7 @@
hysdn_net_release(card); /* release an existing net device */
if ((dev = kmalloc(sizeof(struct net_local), GFP_KERNEL)) == NULL) {
printk(KERN_WARNING "HYSDN: unable to allocate mem\n");
- if (card->debug_flags & LOG_NET_INIT)
- return (-ENOMEM);
+ return (-ENOMEM);
}
memset(dev, 0, sizeof(struct net_local)); /* clean the structure */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)