diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-05-14 10:18:14 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-06-07 15:53:14 +0200 |
commit | c971dad849bd71930738c2bd1d0691b730fa2ae7 (patch) | |
tree | 86ee21a0cb1e5c5424f0f2ff30c108213665df1e /fs/ubifs/replay.c | |
parent | 422edacec0927b091ea5c32384f9d5b89efec1c1 (diff) | |
download | linux-c971dad849bd71930738c2bd1d0691b730fa2ae7.tar.gz linux-c971dad849bd71930738c2bd1d0691b730fa2ae7.tar.bz2 linux-c971dad849bd71930738c2bd1d0691b730fa2ae7.zip |
ubifs: remove set but never used variable
replay_sqnum is set but never used. Remove it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/replay.c')
-rw-r--r-- | fs/ubifs/replay.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ubifs/replay.c b/fs/ubifs/replay.c index ae5c02f22f3e..f10a72a75ed7 100644 --- a/fs/ubifs/replay.c +++ b/fs/ubifs/replay.c @@ -223,9 +223,6 @@ static int apply_replay_entry(struct ubifs_info *c, struct replay_entry *r) dbg_mntk(&r->key, "LEB %d:%d len %d deletion %d sqnum %llu key ", r->lnum, r->offs, r->len, r->deletion, r->sqnum); - /* Set c->replay_sqnum to help deal with dangling branches. */ - c->replay_sqnum = r->sqnum; - if (is_hash_key(c, &r->key)) { if (r->deletion) err = ubifs_tnc_remove_nm(c, &r->key, &r->nm); |