The patch titled Subject: fs/reiserfs/objectid.c: remove set but not used variables has been added to the -mm tree. Its filename is fs-reiserfs-objectidc-remove-set-but-not-used-variables.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/fs-reiserfs-objectidc-remove-set-but-not-used-variables.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/fs-reiserfs-objectidc-remove-set-but-not-used-variables.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: zhengbin <zhengbin13@xxxxxxxxxx> Subject: fs/reiserfs/objectid.c: remove set but not used variables Fixes gcc '-Wunused-but-set-variable' warning: fs/reiserfs/objectid.c: In function reiserfs_convert_objectid_map_v1: fs/reiserfs/objectid.c:186:25: warning: variable new_objectid_map set but not used [-Wunused-but-set-variable] Link: http://lkml.kernel.org/r/1566379929-118398-5-git-send-email-zhengbin13@xxxxxxxxxx Signed-off-by: zhengbin <zhengbin13@xxxxxxxxxx> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> Cc: Jan Kara <jack@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/reiserfs/objectid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/fs/reiserfs/objectid.c~fs-reiserfs-objectidc-remove-set-but-not-used-variables +++ a/fs/reiserfs/objectid.c @@ -183,13 +183,12 @@ int reiserfs_convert_objectid_map_v1(str int new_size = (s->s_blocksize - SB_SIZE) / sizeof(__u32) / 2 * 2; int old_max = sb_oid_maxsize(disk_sb); struct reiserfs_super_block_v1 *disk_sb_v1; - __le32 *objectid_map, *new_objectid_map; + __le32 *objectid_map; int i; disk_sb_v1 = (struct reiserfs_super_block_v1 *)(SB_BUFFER_WITH_SB(s)->b_data); objectid_map = (__le32 *) (disk_sb_v1 + 1); - new_objectid_map = (__le32 *) (disk_sb + 1); if (cur_size > new_size) { /* _ Patches currently in -mm which might be from zhengbin13@xxxxxxxxxx are fs-reiserfs-journalc-remove-set-but-not-used-variables.patch fs-reiserfs-streec-remove-set-but-not-used-variables.patch fs-reiserfs-lbalancec-remove-set-but-not-used-variables.patch fs-reiserfs-objectidc-remove-set-but-not-used-variables.patch fs-reiserfs-printsc-remove-set-but-not-used-variables.patch fs-reiserfs-fix_nodec-remove-set-but-not-used-variables.patch fs-reiserfs-do_balanc-remove-set-but-not-used-variables.patch