Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0da846f4 authored by hujianyang's avatar hujianyang Committed by Artem Bityutskiy
Browse files

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: default avatarhujianyang <hujianyang@huawei.com>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
parent 778c7eb8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);