patch-2.1.52 linux/drivers/misc/parport_init.c

Next file: linux/drivers/misc/parport_pc.c
Previous file: linux/drivers/misc/parport_ieee1284.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.51/linux/drivers/misc/parport_init.c linux/drivers/misc/parport_init.c
@@ -1,8 +1,7 @@
-/* $Id: parport_init.c,v 1.1.2.2 1997/04/18 15:00:52 phil Exp $
- * Parallel-port initialisation code.
+/* Parallel-port initialisation code.
  * 
  * Authors: David Campbell <campbell@tirian.che.curtin.edu.au>
- *          Tim Waugh <tmw20@cam.ac.uk>
+ *          Tim Waugh <tim@cyberelk.demon.co.uk>
  *	    Jose Renau <renau@acm.org>
  *
  * based on work by Grant Guenther <grant@torque.net>
@@ -62,17 +61,6 @@
 
 void cleanup_module(void)
 {
-	struct parport *port, *next;
-   
-	for (port = parport_enumerate(); port; port = next) {
-		next = port->next;
-		if (!(port->flags & PARPORT_FLAG_COMA))
-			parport_quiesce(port);
-		parport_proc_unregister(port);
-		kfree(port->name);
-		kfree(port);
-	}
-	
 	parport_proc_cleanup();
 }
 #else

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov