diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-10-13 18:53:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-13 20:18:20 -0400 |
commit | 35c0b380d81bd566c37a252399f008928ef4b2cd (patch) | |
tree | 05703a573fbab2c3ba0c0695164673be7658584f /fs/ufs | |
parent | a792d9082944fc0efcde7a58c59528f122663c52 (diff) |
fs/ufs/balloc.c: remove unused variable
ucg is defined and set in ufs_bitmap_search but never used.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
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')
-rw-r--r-- | fs/ufs/balloc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ufs/balloc.c b/fs/ufs/balloc.c index 7bc20809c99e..2c1036080d52 100644 --- a/fs/ufs/balloc.c +++ b/fs/ufs/balloc.c | |||
@@ -784,7 +784,6 @@ static u64 ufs_bitmap_search(struct super_block *sb, | |||
784 | 0x0, 0x2, 0x6, 0xe, 0x1e, 0x3e, 0x7e, 0xfe, 0x1fe | 784 | 0x0, 0x2, 0x6, 0xe, 0x1e, 0x3e, 0x7e, 0xfe, 0x1fe |
785 | }; | 785 | }; |
786 | struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; | 786 | struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; |
787 | struct ufs_cylinder_group *ucg; | ||
788 | unsigned start, length, loc; | 787 | unsigned start, length, loc; |
789 | unsigned pos, want, blockmap, mask, end; | 788 | unsigned pos, want, blockmap, mask, end; |
790 | u64 result; | 789 | u64 result; |
@@ -792,8 +791,6 @@ static u64 ufs_bitmap_search(struct super_block *sb, | |||
792 | UFSD("ENTER, cg %u, goal %llu, count %u\n", ucpi->c_cgx, | 791 | UFSD("ENTER, cg %u, goal %llu, count %u\n", ucpi->c_cgx, |
793 | (unsigned long long)goal, count); | 792 | (unsigned long long)goal, count); |
794 | 793 | ||
795 | ucg = ubh_get_ucg(UCPI_UBH(ucpi)); | ||
796 | |||
797 | if (goal) | 794 | if (goal) |
798 | start = ufs_dtogd(uspi, goal) >> 3; | 795 | start = ufs_dtogd(uspi, goal) >> 3; |
799 | else | 796 | else |