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

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

diff -u --recursive --new-file v1.3.38/linux/drivers/scsi/st.c linux/drivers/scsi/st.c
@@ -14,11 +14,8 @@
   Last modified: Sat Nov  4 22:23:54 1995 by root@kai.makisara.fi
   Some small formal changes - aeb, 950809
 */
-#ifdef MODULE
-#include <linux/autoconf.h>
+
 #include <linux/module.h>
-#include <linux/version.h>
-#endif /* MODULE */
 
 #include <linux/fs.h>
 #include <linux/kernel.h>
@@ -2241,7 +2238,6 @@
 
 
 #ifdef MODULE
-char kernel_version[] = UTS_RELEASE;
 
 int init_module(void) {
   st_template.usage_count = &mod_use_count_;
@@ -2252,10 +2248,6 @@
 {
   int i;
 
-  if (MOD_IN_USE) {
-    printk(KERN_INFO __FILE__ ": module is in use, remove rejected\n");
-    return;
-  }
   scsi_unregister_module(MODULE_SCSI_DEV, &st_template);
   unregister_chrdev(SCSI_TAPE_MAJOR, "st");
   st_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