mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 15:26:03 +09: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
|
@ -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 New Issue
Block a user