patch-1.3.39 linux/fs/hpfs/hpfs_fs.c

Next file: linux/fs/isofs/dir.c
Previous file: linux/fs/hpfs/hpfs_caps.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.38/linux/fs/hpfs/hpfs_fs.c linux/fs/hpfs/hpfs_fs.c
@@ -12,13 +12,7 @@
  *   linux/fs/isofs  Copyright (C) 1991  Eric Youngdale
  */
 
-#ifdef MODULE
 #include <linux/module.h>
-#include <linux/version.h>
-#else
-#define MOD_INC_USE_COUNT
-#define MOD_DEC_USE_COUNT
-#endif
 
 #include <linux/fs.h>
 #include <linux/hpfs_fs.h>
@@ -1743,16 +1737,13 @@
 
 #ifdef MODULE
 
-char kernel_version[] = UTS_RELEASE;
-
 static struct file_system_type hpfs_fs_type = {
         hpfs_read_super, "hpfs", 1, NULL
 };
 
 int init_module(void)
 {
-        register_filesystem(&hpfs_fs_type);
-        return 0;
+        return register_filesystem(&hpfs_fs_type);
 }
 
 void cleanup_module(void)

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