patch-2.3.99-pre6 linux/drivers/net/appletalk/ltpc.c

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

diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/net/appletalk/ltpc.c linux/drivers/net/appletalk/ltpc.c
@@ -1253,17 +1253,15 @@
 			/* usage message */
 			printk (KERN_ERR
 				"ltpc: usage: ltpc=auto|iobase[,irq[,dma]]\n");
+			return 0;
 		}
-		return 1;
 	} else {
 		io = ints[1];
 		if (ints[0] > 1) {
 			irq = ints[2];
-			return 1;
 		}
 		if (ints[0] > 2) {
 			dma = ints[3];
-			return 1;
 		}
 		/* ignore any other paramters */
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)