diff options
Diffstat (limited to 'fs/sysfs/inode.c')
-rw-r--r-- | fs/sysfs/inode.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c index aecb6e771e2a..45128b79bc68 100644 --- a/fs/sysfs/inode.c +++ b/fs/sysfs/inode.c | |||
@@ -33,16 +33,6 @@ static const struct inode_operations sysfs_inode_operations ={ | |||
33 | .setattr = sysfs_setattr, | 33 | .setattr = sysfs_setattr, |
34 | }; | 34 | }; |
35 | 35 | ||
36 | void sysfs_delete_inode(struct inode *inode) | ||
37 | { | ||
38 | /* Free the shadowed directory inode operations */ | ||
39 | if (sysfs_is_shadowed_inode(inode)) { | ||
40 | kfree(inode->i_op); | ||
41 | inode->i_op = NULL; | ||
42 | } | ||
43 | return generic_delete_inode(inode); | ||
44 | } | ||
45 | |||
46 | int sysfs_setattr(struct dentry * dentry, struct iattr * iattr) | 36 | int sysfs_setattr(struct dentry * dentry, struct iattr * iattr) |
47 | { | 37 | { |
48 | struct inode * inode = dentry->d_inode; | 38 | struct inode * inode = dentry->d_inode; |