diff options
author | Christian Engelmayer <cengelma@gmx.at> | 2014-04-07 18:39:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-07 19:36:16 -0400 |
commit | fe4487d18fe88d7616628d2512ef0799e1bb697e (patch) | |
tree | dd4e282faf68b9846eb7e3d50aff29df4476d532 /fs/ufs/super.c | |
parent | 48968a112cdf992d52c949a26c0020943c2268b1 (diff) |
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@gmx.at>
Cc: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ufs/super.c')
-rw-r--r-- | fs/ufs/super.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) | |||
524 | struct ufs_buffer_head * ubh; | 524 | struct ufs_buffer_head * ubh; |
525 | unsigned char * base, * space; | 525 | unsigned char * base, * space; |
526 | unsigned size, blks, i; | 526 | unsigned size, blks, i; |
527 | struct ufs_super_block_third *usb3; | ||
528 | 527 | ||
529 | UFSD("ENTER\n"); | 528 | UFSD("ENTER\n"); |
530 | 529 | ||
531 | usb3 = ubh_get_usb_third(uspi); | ||
532 | /* | 530 | /* |
533 | * Read cs structures from (usually) first data block | 531 | * Read cs structures from (usually) first data block |
534 | * on the device. | 532 | * on the device. |