From 56e5a393464161f973dfe43745571a532b8c77d0 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 26 Nov 2019 20:41:00 -0500 Subject: 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 --- drivers/mtd/mtdcore.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 89ac822..dd04d67 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c @@ -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 { -- cgit v1.1