patch-1.3.65 linux/drivers/scsi/sr.c

Next file: linux/drivers/sound/Makefile
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.64/linux/drivers/scsi/sr.c linux/drivers/scsi/sr.c
@@ -1150,10 +1150,6 @@
 
 void cleanup_module( void) 
 {
-    if (MOD_IN_USE) {
-	printk(KERN_INFO __FILE__ ": module is in use, remove rejected\n");
-	return;
-    }
     scsi_unregister_module(MODULE_SCSI_DEV, &sr_template);
     unregister_blkdev(SCSI_CDROM_MAJOR, "sr");
     sr_registered--;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this