summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorhujianyang <hujianyang@huawei.com>2014-04-29 09:44:44 +0800
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-05-13 13:45:16 +0300
commit0da846f42ffa0b6597484d1d9ba92755bfc03018 (patch)
tree35a2b7d543427c3fb0e0b45e02e2e447727c677d /fs/ubifs
parent778c7eb82f29e0f09748290b380c1ed646ce9620 (diff)
downloadop-kernel-dev-0da846f42ffa0b6597484d1d9ba92755bfc03018.zip
op-kernel-dev-0da846f42ffa0b6597484d1d9ba92755bfc03018.tar.gz
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')
-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 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);
OpenPOWER on IntegriCloud