diff options
Diffstat (limited to 'drivers/isdn/capi/capifs.c')
-rw-r--r-- | drivers/isdn/capi/capifs.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/drivers/isdn/capi/capifs.c b/drivers/isdn/capi/capifs.c index 51c01efe2fe4..8596bd1a4d26 100644 --- a/drivers/isdn/capi/capifs.c +++ b/drivers/isdn/capi/capifs.c | |||
@@ -25,10 +25,6 @@ MODULE_LICENSE("GPL"); | |||
25 | 25 | ||
26 | /* ------------------------------------------------------------------ */ | 26 | /* ------------------------------------------------------------------ */ |
27 | 27 | ||
28 | static char *revision = "$Revision: 1.1.2.3 $"; | ||
29 | |||
30 | /* ------------------------------------------------------------------ */ | ||
31 | |||
32 | #define CAPIFS_SUPER_MAGIC (('C'<<8)|'N') | 28 | #define CAPIFS_SUPER_MAGIC (('C'<<8)|'N') |
33 | 29 | ||
34 | static struct vfsmount *capifs_mnt; | 30 | static struct vfsmount *capifs_mnt; |
@@ -227,21 +223,7 @@ void capifs_free_ncci(struct dentry *dentry) | |||
227 | 223 | ||
228 | static int __init capifs_init(void) | 224 | static int __init capifs_init(void) |
229 | { | 225 | { |
230 | char rev[32]; | 226 | return register_filesystem(&capifs_fs_type); |
231 | char *p; | ||
232 | int err; | ||
233 | |||
234 | if ((p = strchr(revision, ':')) != NULL && p[1]) { | ||
235 | strlcpy(rev, p + 2, sizeof(rev)); | ||
236 | if ((p = strchr(rev, '$')) != NULL && p > rev) | ||
237 | *(p-1) = 0; | ||
238 | } else | ||
239 | strcpy(rev, "1.0"); | ||
240 | |||
241 | err = register_filesystem(&capifs_fs_type); | ||
242 | if (!err) | ||
243 | printk(KERN_NOTICE "capifs: Rev %s\n", rev); | ||
244 | return err; | ||
245 | } | 227 | } |
246 | 228 | ||
247 | static void __exit capifs_exit(void) | 229 | static void __exit capifs_exit(void) |