From: Christian Engelmayer Date: Mon, 7 Apr 2014 22:39:57 +0000 (-0700) Subject: fs/ufs: remove unused ufs_super_block_third pointer X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fe4487d18fe88d7616628d2512ef0799e1bb697e;p=linux-beck.git 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 Cc: Evgeniy Dushistov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ufs/super.c b/fs/ufs/super.c index 53122c959cc1..c1183f9f69dc 100644 --- a/fs/ufs/super.c +++ b/fs/ufs/super.c @@ -524,11 +524,9 @@ static int ufs_read_cylinder_structures(struct super_block *sb) 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.