UBIFS: Remove unused variables in ubifs_budget_space
Subsystems (2)
PATCH 1/1 UBIFS: Remove unused variables in ubifs_budget_space
I found two variables in ubifs_budget_space declared but not use. This state remains since the first commit 1e5176. So just remove them.
Signed-off-by hujianyang <[email protected]>
--- fs/ubifs/budget.c | 1 - 1 file changed, 1 deletion(-)
fs/ubifs/budget.c +0 -1
@@ -437,7 +437,6 @@ static int calc_dd_growth(const struct ubifs_info *c,*/ int ubifs_budget_space (struct ubifs_info *c,struct ubifs_budget_req *req) { -int uninitialized_var (cmt_retries ),uninitialized_var (wb_retries );int err, idx_growth, data_growth, dd_growth, retried =0 ;ubifs_assert (req->new_page <=1 );
Signature · 1 line
1.8.5.5
Artem Bityutskiy
AppliedQuoted 5 lines · hujianyang
I found two variables in
ubifs_budget_spacedeclared but not use. This state remains since the first commit 1e5176. So just remove them.Signed-off-by hujianyang <[email protected]>
Applied to linux-ubifs.git tree, thanks!
Signature · 2 lines
Best Regards, Artem Bityutskiy