Patchwork [06/11] UBI: Fastmap: Remove unused variable

login
register
mail settings
Submitter Richard Weinberger
Date June 29, 2012, 3:14 p.m.
Message ID <1340982869-77042-7-git-send-email-richard@nod.at>
Download mbox | patch
Permalink /patch/168134/
State New
Headers show

Comments

Richard Weinberger - June 29, 2012, 3:14 p.m.
Signed-off-by: Richard Weinberger <richard@nod.at>
---
 drivers/mtd/ubi/ubi.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

Patch

diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index 6bf5349..8e2592d 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -393,8 +393,6 @@  struct ubi_wl_entry;
  * @fm_mutex: serializes ubi_update_fastmap()
  * @fm_sem: allows ubi_update_fastmap() to block EBA table changes
  * @fm_work: fastmap work queue
- * @attached_by_scanning: this UBI device was attached by the old scanning
- *			  methold. All fastmap volumes have to be deleted.
  *
  * @used: RB-tree of used physical eraseblocks
  * @erroneous: RB-tree of erroneous used physical eraseblocks
@@ -494,7 +492,6 @@  struct ubi_device {
 	struct rw_semaphore fm_sem;
 	struct mutex fm_mutex;
 	struct work_struct fm_work;
-	int attached_by_scanning;
 
 	/* Wear-leveling sub-system's stuff */
 	struct rb_root used;