diff options
Diffstat (limited to 'fs/sysfs/mount.c')
-rw-r--r-- | fs/sysfs/mount.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index 8f6d8b1b211f..37ff9ffc55f0 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c | |||
@@ -19,12 +19,9 @@ struct vfsmount *sysfs_mount; | |||
19 | struct super_block * sysfs_sb = NULL; | 19 | struct super_block * sysfs_sb = NULL; |
20 | struct kmem_cache *sysfs_dir_cachep; | 20 | struct kmem_cache *sysfs_dir_cachep; |
21 | 21 | ||
22 | static void sysfs_clear_inode(struct inode *inode); | ||
23 | |||
24 | static const struct super_operations sysfs_ops = { | 22 | static const struct super_operations sysfs_ops = { |
25 | .statfs = simple_statfs, | 23 | .statfs = simple_statfs, |
26 | .drop_inode = sysfs_delete_inode, | 24 | .drop_inode = sysfs_delete_inode, |
27 | .clear_inode = sysfs_clear_inode, | ||
28 | }; | 25 | }; |
29 | 26 | ||
30 | static struct sysfs_dirent sysfs_root = { | 27 | static struct sysfs_dirent sysfs_root = { |
@@ -36,11 +33,6 @@ static struct sysfs_dirent sysfs_root = { | |||
36 | .s_ino = 1, | 33 | .s_ino = 1, |
37 | }; | 34 | }; |
38 | 35 | ||
39 | static void sysfs_clear_inode(struct inode *inode) | ||
40 | { | ||
41 | kfree(inode->i_private); | ||
42 | } | ||
43 | |||
44 | static int sysfs_fill_super(struct super_block *sb, void *data, int silent) | 36 | static int sysfs_fill_super(struct super_block *sb, void *data, int silent) |
45 | { | 37 | { |
46 | struct inode *inode; | 38 | struct inode *inode; |