patch-1.3.39 linux/drivers/scsi/scsi_module.c

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

diff -u --recursive --new-file v1.3.38/linux/drivers/scsi/scsi_module.c linux/drivers/scsi/scsi_module.c
@@ -30,9 +30,6 @@
  */
 
 #include <linux/module.h>
-#include <linux/version.h>
-
-char kernel_version[] = UTS_RELEASE;
 
 int init_module(void) {
     driver_template.usage_count = &mod_use_count_;
@@ -41,10 +38,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_HA, &driver_template);
 }
 

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