* [PATCH] UBIFS: Remove unused variables in ubifs_budget_space
@ 2014-04-29 1:44 hujianyang
2014-05-05 6:43 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: hujianyang @ 2014-04-29 1:44 UTC (permalink / raw)
To: Artem Bityutskiy; +Cc: linux-mtd
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(-)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] UBIFS: Remove unused variables in ubifs_budget_space
2014-04-29 1:44 [PATCH] UBIFS: Remove unused variables in ubifs_budget_space hujianyang
@ 2014-05-05 6:43 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2014-05-05 6:43 UTC (permalink / raw)
To: hujianyang; +Cc: linux-mtd
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!
--
Best Regards,
Artem Bityutskiy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-05 6:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-29 1:44 [PATCH] UBIFS: Remove unused variables in ubifs_budget_space hujianyang
2014-05-05 6:43 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).