Skip to contentSkip to conversation

UBIFS: Remove unused variables in ubifs_budget_space

PATCH Applied hujianyang 2 participants 2 messages Apr 29, 2014 – May 5, 2014

Subsystems (2)
lore
Share & tools
lore

hujianyang

author
#0 lore raw

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.

---
 fs/ubifs/budget.c | 1 -
 1 file changed, 1 deletion(-)
fs/ubifs/budget.c +0 -1
index e8e01d7..eb997e9 100644
@@ -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
#1 lore raw
Quoted 5 lines · hujianyang

I found two variables in ubifs_budget_space declared but not use. This state remains since the first commit 1e5176. So just remove them.

Applied to linux-ubifs.git tree, thanks!

Signature · 2 lines
Best Regards,
Artem Bityutskiy