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

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)