patch-1.3.39 linux/fs/smbfs/inode.c

Next file: linux/fs/smbfs/sock.c
Previous file: linux/fs/proc/array.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.38/linux/fs/smbfs/inode.c linux/fs/smbfs/inode.c
@@ -405,8 +405,6 @@
 
 #ifdef MODULE
 
-char kernel_version[] = UTS_RELEASE;
-
 /* looks ugly, taken from gcc-info */
 static void *shut_up_gcc = (&shut_up_gcc, kernel_version);
 
@@ -425,8 +423,7 @@
 #endif
 
         smb_init_dir_cache();
-        register_filesystem(&smb_fs_type);
-        return 0;
+        return register_filesystem(&smb_fs_type);
 }
 
 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