summaryrefslogtreecommitdiff
path: root/fs/ubifs/budget.c
diff options
context:
space:
mode:
authorhujianyang <hujianyang@huawei.com>2014-04-29 05:44:44 +0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-05-13 14:45:16 +0400
commit0da846f42ffa0b6597484d1d9ba92755bfc03018 (patch)
tree35a2b7d543427c3fb0e0b45e02e2e447727c677d /fs/ubifs/budget.c
parent778c7eb82f29e0f09748290b380c1ed646ce9620 (diff)
downloadlinux-0da846f42ffa0b6597484d1d9ba92755bfc03018.tar.xz
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 <hujianyang@huawei.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'fs/ubifs/budget.c')
-rw-r--r--fs/ubifs/budget.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ubifs/budget.c b/fs/ubifs/budget.c
index e8e01d74dc05..eb997e9c4ab0 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);