diff options
Diffstat (limited to 'fs/proc/inode.c')
-rw-r--r-- | fs/proc/inode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 5792f9e39466..da649ccd6804 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c | |||
@@ -59,7 +59,6 @@ static struct kmem_cache *pde_opener_cache __ro_after_init; | |||
59 | static struct inode *proc_alloc_inode(struct super_block *sb) | 59 | static struct inode *proc_alloc_inode(struct super_block *sb) |
60 | { | 60 | { |
61 | struct proc_inode *ei; | 61 | struct proc_inode *ei; |
62 | struct inode *inode; | ||
63 | 62 | ||
64 | ei = kmem_cache_alloc(proc_inode_cachep, GFP_KERNEL); | 63 | ei = kmem_cache_alloc(proc_inode_cachep, GFP_KERNEL); |
65 | if (!ei) | 64 | if (!ei) |
@@ -71,8 +70,7 @@ static struct inode *proc_alloc_inode(struct super_block *sb) | |||
71 | ei->sysctl = NULL; | 70 | ei->sysctl = NULL; |
72 | ei->sysctl_entry = NULL; | 71 | ei->sysctl_entry = NULL; |
73 | ei->ns_ops = NULL; | 72 | ei->ns_ops = NULL; |
74 | inode = &ei->vfs_inode; | 73 | return &ei->vfs_inode; |
75 | return inode; | ||
76 | } | 74 | } |
77 | 75 | ||
78 | static void proc_i_callback(struct rcu_head *head) | 76 | static void proc_i_callback(struct rcu_head *head) |