diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-10-21 21:48:25 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-10-22 08:51:44 +0200 |
commit | cf9b0c6927126a4f6e520a242378b5166aaa87a4 (patch) | |
tree | 1a9638155e87fe526548ec097afb0169a96e83dd | |
parent | bbef610b0f5e52b70177c4316173a85286edffa8 (diff) | |
download | barebox-cf9b0c6927126a4f6e520a242378b5166aaa87a4.tar.gz barebox-cf9b0c6927126a4f6e520a242378b5166aaa87a4.tar.xz |
ubifs: Remove redundant assignment
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | fs/ubifs/recovery.c | 1 | ||||
-rw-r--r-- | fs/ubifs/scan.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/fs/ubifs/recovery.c b/fs/ubifs/recovery.c index df7262fcee..634ecb3242 100644 --- a/fs/ubifs/recovery.c +++ b/fs/ubifs/recovery.c @@ -392,7 +392,6 @@ static void clean_buf(const struct ubifs_info *c, void **buf, int lnum, { int empty_offs, pad_len; - lnum = lnum; dbg_rcvry("cleaning corruption at %d:%d", lnum, *offs); if (c->min_io_size == 1) { diff --git a/fs/ubifs/scan.c b/fs/ubifs/scan.c index 0ed82479b4..633a56f864 100644 --- a/fs/ubifs/scan.c +++ b/fs/ubifs/scan.c @@ -175,7 +175,6 @@ struct ubifs_scan_leb *ubifs_start_scan(const struct ubifs_info *c, int lnum, void ubifs_end_scan(const struct ubifs_info *c, struct ubifs_scan_leb *sleb, int lnum, int offs) { - lnum = lnum; dbg_scan("stop scanning LEB %d at offset %d", lnum, offs); ubifs_assert(offs % c->min_io_size == 0); |