mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02: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:
@@ -76,8 +76,6 @@ static struct class mtd_class = {
|
|||||||
.resume = mtd_cls_resume,
|
.resume = mtd_cls_resume,
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
struct mtd_info *mtd_table[MAX_MTD_DEVICES];
|
|
||||||
|
|
||||||
#define MAX_IDR_ID 64
|
#define MAX_IDR_ID 64
|
||||||
|
|
||||||
struct idr_layer {
|
struct idr_layer {
|
||||||
|
Reference in New Issue
Block a user