Subject: [merged] fs-ufs-remove-unused-ufs_super_block_second-pointer.patch removed from -mm tree To: cengelma@xxxxxx,dushistov@xxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 08 Apr 2014 14:54:09 -0700 The patch titled Subject: fs/ufs: remove unused ufs_super_block_second pointer has been removed from the -mm tree. Its filename was fs-ufs-remove-unused-ufs_super_block_second-pointer.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Christian Engelmayer <cengelma@xxxxxx> Subject: fs/ufs: remove unused ufs_super_block_second pointer Pointer 'usb2' to struct ufs_super_block_second acquired via ubh_get_usb_second() is never used in function ufs_statfs(). Thus remove it. Detected by Coverity: CID 139940. 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_second-pointer fs/ufs/super.c --- a/fs/ufs/super.c~fs-ufs-remove-unused-ufs_super_block_second-pointer +++ a/fs/ufs/super.c @@ -1390,13 +1390,11 @@ static int ufs_statfs(struct dentry *den struct super_block *sb = dentry->d_sb; struct ufs_sb_private_info *uspi= UFS_SB(sb)->s_uspi; unsigned flags = UFS_SB(sb)->s_flags; - struct ufs_super_block_second *usb2; struct ufs_super_block_third *usb3; u64 id = huge_encode_dev(sb->s_bdev->bd_dev); lock_ufs(sb); - usb2 = ubh_get_usb_second(uspi); usb3 = ubh_get_usb_third(uspi); if ((flags & UFS_TYPE_MASK) == UFS_TYPE_UFS2) { _ Patches currently in -mm which might be from cengelma@xxxxxx are origin.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