Subject: + hfsplus-remove-unused-variable-in-hfsplus_get_block.patch added to -mm tree To: sougata@xxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 18 Feb 2014 13:58:51 -0800 The patch titled Subject: fs/hfsplus/extents.c: remove unused variable in hfsplus_get_block has been added to the -mm tree. Its filename is hfsplus-remove-unused-variable-in-hfsplus_get_block.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/hfsplus-remove-unused-variable-in-hfsplus_get_block.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/hfsplus-remove-unused-variable-in-hfsplus_get_block.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: Sougata Santra <sougata@xxxxxxxxxx> Subject: fs/hfsplus/extents.c: remove unused variable in hfsplus_get_block The variable is defined but not used. Generally it compiles away with -O2 optimization hence it does not show a warning. Signed-off-by: Sougata Santra <sougata@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/hfsplus/extents.c | 2 -- 1 file changed, 2 deletions(-) diff -puN fs/hfsplus/extents.c~hfsplus-remove-unused-variable-in-hfsplus_get_block fs/hfsplus/extents.c --- a/fs/hfsplus/extents.c~hfsplus-remove-unused-variable-in-hfsplus_get_block +++ a/fs/hfsplus/extents.c @@ -227,10 +227,8 @@ int hfsplus_get_block(struct inode *inod u32 ablock, dblock, mask; sector_t sector; int was_dirty = 0; - int shift; /* Convert inode block to disk allocation block */ - shift = sbi->alloc_blksz_shift - sb->s_blocksize_bits; ablock = iblock >> sbi->fs_shift; if (iblock >= hip->fs_blocks) { _ Patches currently in -mm which might be from sougata@xxxxxxxxxx are hfsplus-remove-unused-variable-in-hfsplus_get_block.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