The patch titled Subject: fs/proc/inode.c: delete unnecessary variable in proc_alloc_inode() has been added to the -mm tree. Its filename is proc-delete-unnecessary-variable-in-proc_alloc_inode.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/proc-delete-unnecessary-variable-in-proc_alloc_inode.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/proc-delete-unnecessary-variable-in-proc_alloc_inode.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Alexey Dobriyan <adobriyan@xxxxxxxxx> Subject: fs/proc/inode.c: delete unnecessary variable in proc_alloc_inode() Link: http://lkml.kernel.org/r/20181203164015.GA6904@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/inode.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/fs/proc/inode.c~proc-delete-unnecessary-variable-in-proc_alloc_inode +++ a/fs/proc/inode.c @@ -59,7 +59,6 @@ static struct kmem_cache *pde_opener_cac static struct inode *proc_alloc_inode(struct super_block *sb) { struct proc_inode *ei; - struct inode *inode; ei = kmem_cache_alloc(proc_inode_cachep, GFP_KERNEL); if (!ei) @@ -71,8 +70,7 @@ static struct inode *proc_alloc_inode(st ei->sysctl = NULL; ei->sysctl_entry = NULL; ei->ns_ops = NULL; - inode = &ei->vfs_inode; - return inode; + return &ei->vfs_inode; } static void proc_i_callback(struct rcu_head *head) _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are mm-make-migratetype_names-const-char.patch mm-make-migrate_reason_names-const-char.patch mm-make-free_reserved_area-return-const-char.patch proc-delete-unnecessary-variable-in-proc_alloc_inode.patch proc-slightly-faster-proc-limits.patch coding-style-dont-use-extern-with-function-prototypes.patch drop-silly-static-inline-asmlinkage-from-dump_stack.patch make-initcall_level_names-const-char.patch