patch-2.4.21 linux-2.4.21/net/irda/irlap.c
Next file: linux-2.4.21/net/irda/irlap_event.c
Previous file: linux-2.4.21/net/irda/irda_device.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-06-13 07:51:39.000000000 -0700
- Orig file:
linux-2.4.20/net/irda/irlap.c
- Orig date:
2002-11-28 15:53:16.000000000 -0800
diff -urN linux-2.4.20/net/irda/irlap.c linux-2.4.21/net/irda/irlap.c
@@ -1101,8 +1101,8 @@
self = (struct irlap_cb *) hashbin_get_first(irlap);
while (self != NULL) {
- ASSERT(self != NULL, return -ENODEV;);
- ASSERT(self->magic == LAP_MAGIC, return -EBADR;);
+ ASSERT(self != NULL, break;);
+ ASSERT(self->magic == LAP_MAGIC, break;);
len += sprintf(buf+len, "irlap%d ", i++);
len += sprintf(buf+len, "state: %s\n",
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)