From c604f47a80cbc41fa159bebdbcb17f8b6a0e7016 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Tue, 6 Mar 2018 01:46:37 +0200 Subject: [PATCH] MIPS: Drop unreferenced CONFIG_* defines The following config symbols are only defined once and never referenced anywhere else: CONFIG_DBAU1X00 CONFIG_PB1X00 Most of them are config symbols named after the respective boards which seems to have been a standard practice at some point. Signed-off-by: Tuomas Tynkkynen --- include/configs/dbau1x00.h | 1 - include/configs/pb1x00.h | 1 - scripts/config_whitelist.txt | 2 -- 3 files changed, 4 deletions(-) diff --git a/include/configs/dbau1x00.h b/include/configs/dbau1x00.h index ebd2c23960..f00111a8c4 100644 --- a/include/configs/dbau1x00.h +++ b/include/configs/dbau1x00.h @@ -12,7 +12,6 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define CONFIG_DBAU1X00 1 #define CONFIG_SOC_AU1X00 1 /* alchemy series cpu */ #ifdef CONFIG_DBAU1000 diff --git a/include/configs/pb1x00.h b/include/configs/pb1x00.h index 972c13a625..8adb7d7cfa 100644 --- a/include/configs/pb1x00.h +++ b/include/configs/pb1x00.h @@ -12,7 +12,6 @@ #ifndef __CONFIG_H #define __CONFIG_H -#define CONFIG_PB1X00 1 #define CONFIG_SOC_AU1X00 1 /* alchemy series cpu */ #ifdef CONFIG_PB1000 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index a42b64d209..f63d95f967 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -325,7 +325,6 @@ CONFIG_DA850_AM18X_EVM CONFIG_DA850_EVM_MAX_CPU_CLK CONFIG_DA8XX_GPIO CONFIG_DBAU1000 -CONFIG_DBAU1X00 CONFIG_DBGU CONFIG_DBG_MONITOR CONFIG_DB_784MP_GP @@ -1496,7 +1495,6 @@ CONFIG_PARAVIRT CONFIG_PB1000 CONFIG_PB1100 CONFIG_PB1500 -CONFIG_PB1X00 CONFIG_PCA953X CONFIG_PCA9698 CONFIG_PCI1 -- 2.39.5