]> git.karo-electronics.de Git - linux-beck.git/commitdiff
UBIFS: Remove unused variables in ubifs_budget_space
authorhujianyang <hujianyang@huawei.com>
Tue, 29 Apr 2014 01:44:44 +0000 (09:44 +0800)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 13 May 2014 10:45:16 +0000 (13:45 +0300)
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>
fs/ubifs/budget.c

index e8e01d74dc0563a86d7185369afd842362f792a4..eb997e9c4ab07865460a4aa29b98205db47692ff 100644 (file)
@@ -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);