From 2d39a9dcdbdef1202d890a81505e7d33fe04cde0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20=C4=90or=C4=91evi=C4=87?= Date: Mon, 20 Apr 2020 00:56:48 +0200 Subject: Remove no-longer-necessary LTO checks from keyboards' config.h files (#8773) * Remove no-longer-necessary LTO checks from keyboards' config.h files * Remove unnecessary LTO check in @danielo515's Ergodox EZ keymap * Remove unnecessary USE_Link_Time_Optimization checks from keyboards' config.h files Note: DISABLE_LEADER doesn't seem to be used anywhere --- keyboards/dztech/dz60rgb/v1/config.h | 6 ++---- keyboards/dztech/dz60rgb/v2/config.h | 6 ++---- keyboards/dztech/dz60rgb_ansi/v1/config.h | 6 ++---- keyboards/dztech/dz60rgb_ansi/v2/config.h | 6 ++---- keyboards/dztech/dz60rgb_wkl/v1/config.h | 6 ++---- keyboards/dztech/dz60rgb_wkl/v2/config.h | 6 ++---- keyboards/dztech/dz65rgb/v1/config.h | 6 ++---- keyboards/dztech/dz65rgb/v2/config.h | 6 ++---- 8 files changed, 16 insertions(+), 32 deletions(-) (limited to 'keyboards/dztech') diff --git a/keyboards/dztech/dz60rgb/v1/config.h b/keyboards/dztech/dz60rgb/v1/config.h index d6f4624259..fb4e622458 100644 --- a/keyboards/dztech/dz60rgb/v1/config.h +++ b/keyboards/dztech/dz60rgb/v1/config.h @@ -33,10 +33,8 @@ #define DEBOUNCE 3 /* disable these deprecated features by default */ -#ifndef LINK_TIME_OPTIMIZATION_ENABLE -# define NO_ACTION_MACRO -# define NO_ACTION_FUNCTION -#endif +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION #ifdef RGB_MATRIX_ENABLE # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects diff --git a/keyboards/dztech/dz60rgb/v2/config.h b/keyboards/dztech/dz60rgb/v2/config.h index b344e34b37..6c5484fc8a 100644 --- a/keyboards/dztech/dz60rgb/v2/config.h +++ b/keyboards/dztech/dz60rgb/v2/config.h @@ -33,10 +33,8 @@ #define DEBOUNCE 3 /* disable these deprecated features by default */ -#ifndef LINK_TIME_OPTIMIZATION_ENABLE -# define NO_ACTION_MACRO -# define NO_ACTION_FUNCTION -#endif +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION #ifdef RGB_MATRIX_ENABLE # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects diff --git a/keyboards/dztech/dz60rgb_ansi/v1/config.h b/keyboards/dztech/dz60rgb_ansi/v1/config.h index fb76ee7df9..f34226efc6 100644 --- a/keyboards/dztech/dz60rgb_ansi/v1/config.h +++ b/keyboards/dztech/dz60rgb_ansi/v1/config.h @@ -33,10 +33,8 @@ #define DEBOUNCE 3 /* disable these deprecated features by default */ -#ifndef LINK_TIME_OPTIMIZATION_ENABLE -# define NO_ACTION_MACRO -# define NO_ACTION_FUNCTION -#endif +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION #ifdef RGB_MATRIX_ENABLE # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects diff --git a/keyboards/dztech/dz60rgb_ansi/v2/config.h b/keyboards/dztech/dz60rgb_ansi/v2/config.h index 3bd287b5f2..b9710805a6 100644 --- a/keyboards/dztech/dz60rgb_ansi/v2/config.h +++ b/keyboards/dztech/dz60rgb_ansi/v2/config.h @@ -33,10 +33,8 @@ #define DEBOUNCE 3 /* disable these deprecated features by default */ -#ifndef LINK_TIME_OPTIMIZATION_ENABLE -# define NO_ACTION_MACRO -# define NO_ACTION_FUNCTION -#endif +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION #ifdef RGB_MATRIX_ENABLE # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects diff --git a/keyboards/dztech/dz60rgb_wkl/v1/config.h b/keyboards/dztech/dz60rgb_wkl/v1/config.h index b5d267640b..49ce112360 100644 --- a/keyboards/dztech/dz60rgb_wkl/v1/config.h +++ b/keyboards/dztech/dz60rgb_wkl/v1/config.h @@ -33,10 +33,8 @@ #define DEBOUNCE 3 /* disable these deprecated features by default */ -#ifndef LINK_TIME_OPTIMIZATION_ENABLE -# define NO_ACTION_MACRO -# define NO_ACTION_FUNCTION -#endif +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION #ifdef RGB_MATRIX_ENABLE # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects diff --git a/keyboards/dztech/dz60rgb_wkl/v2/config.h b/keyboards/dztech/dz60rgb_wkl/v2/config.h index 4ae9b93951..e46495d73b 100644 --- a/keyboards/dztech/dz60rgb_wkl/v2/config.h +++ b/keyboards/dztech/dz60rgb_wkl/v2/config.h @@ -33,10 +33,8 @@ #define DEBOUNCE 3 /* disable these deprecated features by default */ -#ifndef LINK_TIME_OPTIMIZATION_ENABLE -# define NO_ACTION_MACRO -# define NO_ACTION_FUNCTION -#endif +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION #ifdef RGB_MATRIX_ENABLE # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects diff --git a/keyboards/dztech/dz65rgb/v1/config.h b/keyboards/dztech/dz65rgb/v1/config.h index bf700a2384..9cd7d293ce 100644 --- a/keyboards/dztech/dz65rgb/v1/config.h +++ b/keyboards/dztech/dz65rgb/v1/config.h @@ -29,10 +29,8 @@ #define DIODE_DIRECTION COL2ROW /* disable these deprecated features by default */ -#ifndef LINK_TIME_OPTIMIZATION_ENABLE -# define NO_ACTION_MACRO -# define NO_ACTION_FUNCTION -#endif +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION #ifdef RGB_MATRIX_ENABLE # define RGB_MATRIX_LED_PROCESS_LIMIT 4 diff --git a/keyboards/dztech/dz65rgb/v2/config.h b/keyboards/dztech/dz65rgb/v2/config.h index 6a55f87667..83cf0110ab 100644 --- a/keyboards/dztech/dz65rgb/v2/config.h +++ b/keyboards/dztech/dz65rgb/v2/config.h @@ -29,10 +29,8 @@ #define DIODE_DIRECTION COL2ROW /* disable these deprecated features by default */ -#ifndef LINK_TIME_OPTIMIZATION_ENABLE -# define NO_ACTION_MACRO -# define NO_ACTION_FUNCTION -#endif +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION #ifdef RGB_MATRIX_ENABLE # define RGB_MATRIX_LED_PROCESS_LIMIT 4 -- cgit v1.2.3