[PATCH] UBIFS: Remove unused variables in ubifs_budget_space
hujianyang
hujianyang at huawei.com
Mon Apr 28 18:44:44 PDT 2014
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 <hujianyang at huawei.com>
---
fs/ubifs/budget.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/ubifs/budget.c b/fs/ubifs/budget.c
index e8e01d7..eb997e9 100644
--- a/fs/ubifs/budget.c
+++ b/fs/ubifs/budget.c
@@ -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);
--
1.8.5.5
More information about the linux-mtd
mailing list