patch-2.3.49 linux/drivers/parport/daisy.c
Next file: linux/drivers/parport/ieee1284.c
Previous file: linux/drivers/net/yellowfin.c
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Mon Feb 28 07:16:49 2000
-  Orig file: 
v2.3.48/linux/drivers/parport/daisy.c
-  Orig date: 
Sat Feb 26 22:31:47 2000
diff -u --recursive --new-file v2.3.48/linux/drivers/parport/daisy.c linux/drivers/parport/daisy.c
@@ -160,10 +160,10 @@
 
 	while (prev) {
 		dev = prev->next;
-		if (dev && dev->port == port)
+		if (dev && dev->port == port) {
 			prev->next = dev->next;
-
-		kfree (dev);
+			kfree (dev);
+		}
 		prev = prev->next;
 	}
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)