fs/ocfs2: remove unnecessary variable bits_wanted from ocfs2_calc_extend_credits
Code cleanup to remove unnecessary variable passed but never used to ocfs2_calc_extend_credits. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
59c36455d0
commit
06f9da6e82
@@ -524,8 +524,7 @@ static inline int ocfs2_calc_dxi_expand_credits(struct super_block *sb)
|
||||
* the result may be wrong.
|
||||
*/
|
||||
static inline int ocfs2_calc_extend_credits(struct super_block *sb,
|
||||
struct ocfs2_extent_list *root_el,
|
||||
u32 bits_wanted)
|
||||
struct ocfs2_extent_list *root_el)
|
||||
{
|
||||
int bitmap_blocks, sysfile_bitmap_blocks, extent_blocks;
|
||||
|
||||
|
Reference in New Issue
Block a user