Message ID | 535F040C.8010903@huawei.com |
---|---|
State | Not Applicable |
Headers | show |
On Tue, 2014-04-29 at 09:44 +0800, hujianyang wrote: > 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@huawei.com> Applied to linux-ubifs.git tree, thanks!
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);
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@huawei.com> --- fs/ubifs/budget.c | 1 - 1 file changed, 1 deletion(-)