The patch titled Subject: mm: shmem: remove unused info variable has been added to the -mm tree. Its filename is mm-shmem-remove-unused-info-variable.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-shmem-remove-unused-info-variable.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-shmem-remove-unused-info-variable.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/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Corentin Labbe <clabbe@xxxxxxxxxxxx> Subject: mm: shmem: remove unused info variable Fix the following warning by removing the unused variable: mm/shmem.c:3205:27: warning: variable 'info' set but not used [-Wunused-but-set-variable] Link: http://lkml.kernel.org/r/1510774029-30652-1-git-send-email-clabbe@xxxxxxxxxxxx Signed-off-by: Corentin Labbe <clabbe@xxxxxxxxxxxx> Acked-by: Michal Hocko <mhocko@xxxxxxxx> Cc: Hugh Dickins <hughd@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/shmem.c | 2 -- 1 file changed, 2 deletions(-) diff -puN mm/shmem.c~mm-shmem-remove-unused-info-variable mm/shmem.c --- a/mm/shmem.c~mm-shmem-remove-unused-info-variable +++ a/mm/shmem.c @@ -3202,7 +3202,6 @@ static int shmem_symlink(struct inode *d int len; struct inode *inode; struct page *page; - struct shmem_inode_info *info; len = strlen(symname) + 1; if (len > PAGE_SIZE) @@ -3222,7 +3221,6 @@ static int shmem_symlink(struct inode *d error = 0; } - info = SHMEM_I(inode); inode->i_size = len-1; if (len <= SHORT_SYMLINK_LEN) { inode->i_link = kmemdup(symname, len, GFP_KERNEL); _ Patches currently in -mm which might be from clabbe@xxxxxxxxxxxx are mm-shmem-remove-unused-info-variable.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html