diff options
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index 9af362c2a137..49c864d175db 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -388,8 +388,6 @@ struct ubi_wl_entry; | |||
388 | * @peb_buf2: another buffer of PEB size used for different purposes | 388 | * @peb_buf2: another buffer of PEB size used for different purposes |
389 | * @buf_mutex: protects @peb_buf1 and @peb_buf2 | 389 | * @buf_mutex: protects @peb_buf1 and @peb_buf2 |
390 | * @ckvol_mutex: serializes static volume checking when opening | 390 | * @ckvol_mutex: serializes static volume checking when opening |
391 | * @dbg_peb_buf: buffer of PEB size used for debugging | ||
392 | * @dbg_buf_mutex: protects @dbg_peb_buf | ||
393 | */ | 391 | */ |
394 | struct ubi_device { | 392 | struct ubi_device { |
395 | struct cdev cdev; | 393 | struct cdev cdev; |
@@ -471,10 +469,6 @@ struct ubi_device { | |||
471 | void *peb_buf2; | 469 | void *peb_buf2; |
472 | struct mutex buf_mutex; | 470 | struct mutex buf_mutex; |
473 | struct mutex ckvol_mutex; | 471 | struct mutex ckvol_mutex; |
474 | #ifdef CONFIG_MTD_UBI_DEBUG_PARANOID | ||
475 | void *dbg_peb_buf; | ||
476 | struct mutex dbg_buf_mutex; | ||
477 | #endif | ||
478 | }; | 472 | }; |
479 | 473 | ||
480 | extern struct kmem_cache *ubi_wl_entry_slab; | 474 | extern struct kmem_cache *ubi_wl_entry_slab; |