Subject: + fs-ufs-remove-unused-ufs_super_block_third-pointer.patch added to -mm tree To: cengelma@xxxxxx,dushistov@xxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 12 Feb 2014 14:23:16 -0800 The patch titled Subject: fs/ufs: remove unused ufs_super_block_third pointer has been added to the -mm tree. Its filename is fs-ufs-remove-unused-ufs_super_block_third-pointer.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/fs-ufs-remove-unused-ufs_super_block_third-pointer.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/fs-ufs-remove-unused-ufs_super_block_third-pointer.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: Christian Engelmayer <cengelma@xxxxxx> Subject: fs/ufs: remove unused ufs_super_block_third pointer Pointer 'usb3' to struct ufs_super_block_third acquired via ubh_get_usb_third() is never used in function ufs_read_cylinder_structures(= ). Thus remove it. Detected by Coverity: CID 139939. Signed-off-by: Christian Engelmayer <cengelma@xxxxxx> Cc: Evgeniy Dushistov <dushistov@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ufs/super.c | 2 -- 1 file changed, 2 deletions(-) diff -puN fs/ufs/super.c~fs-ufs-remove-unused-ufs_super_block_third-pointer fs/ufs/super.c --- a/fs/ufs/super.c~fs-ufs-remove-unused-ufs_super_block_third-pointer +++ a/fs/ufs/super.c @@ -524,11 +524,9 @@ static int ufs_read_cylinder_structures( struct ufs_buffer_head * ubh; unsigned char * base, * space; unsigned size, blks, i; - struct ufs_super_block_third *usb3; UFSD("ENTER\n"); - usb3 = ubh_get_usb_third(uspi); /* * Read cs structures from (usually) first data block * on the device. _ Patches currently in -mm which might be from cengelma@xxxxxx are origin.patch fs-ufs-remove-unused-ufs_super_block_first-pointer.patch fs-ufs-remove-unused-ufs_super_block_second-pointer.patch fs-ufs-remove-unused-ufs_super_block_third-pointer.patch linux-next.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