Skip to content

Commit

Permalink
fs/ufs/balloc.c: remove unused variable
Browse files Browse the repository at this point in the history
ucg is defined and set in ufs_bitmap_search but never used.

Signed-off-by: Fabian Frederick <[email protected]>
Cc: Evgeniy Dushistov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Fabian Frederick authored and torvalds committed Oct 14, 2014
1 parent a792d90 commit 35c0b38
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/ufs/balloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -784,16 +784,13 @@ static u64 ufs_bitmap_search(struct super_block *sb,
0x0, 0x2, 0x6, 0xe, 0x1e, 0x3e, 0x7e, 0xfe, 0x1fe
};
struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi;
struct ufs_cylinder_group *ucg;
unsigned start, length, loc;
unsigned pos, want, blockmap, mask, end;
u64 result;

UFSD("ENTER, cg %u, goal %llu, count %u\n", ucpi->c_cgx,
(unsigned long long)goal, count);

ucg = ubh_get_ucg(UCPI_UBH(ucpi));

if (goal)
start = ufs_dtogd(uspi, goal) >> 3;
else
Expand Down

0 comments on commit 35c0b38

Please sign in to comment.