mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
mtd: mtdcore: Drop unused mtd_table
The array 'mtd_table' is unused in the code. Remove this as gcc doesn't always discard unused global variables. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
923e211f8d
commit
56e5a39346
1 changed files with 0 additions and 2 deletions
|
@ -76,8 +76,6 @@ static struct class mtd_class = {
|
|||
.resume = mtd_cls_resume,
|
||||
};
|
||||
#else
|
||||
struct mtd_info *mtd_table[MAX_MTD_DEVICES];
|
||||
|
||||
#define MAX_IDR_ID 64
|
||||
|
||||
struct idr_layer {
|
||||
|
|
Loading…
Reference in a new issue