diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-16 06:01:03 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-26 12:15:15 -0500 |
commit | b96bf4c33d4860bf1584ad2f9ed3b783d79aada8 (patch) | |
tree | 30eb7bd3d0de569dd5087b62aa11520d1490c7a6 /drivers/mtd/ubi/ubi.h | |
parent | 06b68ba15671f32a3aa3bbddf04b0d2dd7fbf902 (diff) |
UBI: remove ubi_devices_cnt
This global variablea is not really needed, remove it
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index b7c93173e77b..23875bf6aa3b 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -94,9 +94,6 @@ enum { | |||
94 | UBI_IO_BITFLIPS | 94 | UBI_IO_BITFLIPS |
95 | }; | 95 | }; |
96 | 96 | ||
97 | extern int ubi_devices_cnt; | ||
98 | extern struct ubi_device *ubi_devices[]; | ||
99 | |||
100 | /** | 97 | /** |
101 | * struct ubi_wl_entry - wear-leveling entry. | 98 | * struct ubi_wl_entry - wear-leveling entry. |
102 | * @rb: link in the corresponding RB-tree | 99 | * @rb: link in the corresponding RB-tree |
@@ -401,6 +398,7 @@ extern struct kmem_cache *ubi_ltree_slab; | |||
401 | extern struct kmem_cache *ubi_wl_entry_slab; | 398 | extern struct kmem_cache *ubi_wl_entry_slab; |
402 | extern struct file_operations ubi_cdev_operations; | 399 | extern struct file_operations ubi_cdev_operations; |
403 | extern struct file_operations ubi_vol_cdev_operations; | 400 | extern struct file_operations ubi_vol_cdev_operations; |
401 | extern struct ubi_device *ubi_devices[]; | ||
404 | extern struct class *ubi_class; | 402 | extern struct class *ubi_class; |
405 | 403 | ||
406 | /* vtbl.c */ | 404 | /* vtbl.c */ |