From 9dbee3e23d28e5f61384bbb5650505a572022341 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 16 Mar 2023 20:18:33 +1100 Subject: Remove useless "ifdef KEYBOARD_*" (#20078) Co-authored-by: Nick Brassel --- keyboards/lets_split/lets_split.c | 2 +- keyboards/lets_split/lets_split.h | 11 ----------- keyboards/lets_split/rev1/rev1.c | 1 - keyboards/lets_split/rev1/rev1.h | 2 -- keyboards/lets_split/rev2/rev2.c | 1 - keyboards/lets_split/rev2/rev2.h | 2 -- keyboards/lets_split/sockets/sockets.c | 1 - keyboards/lets_split/sockets/sockets.h | 2 -- 8 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 keyboards/lets_split/lets_split.h delete mode 100644 keyboards/lets_split/rev1/rev1.c delete mode 100644 keyboards/lets_split/rev2/rev2.c delete mode 100644 keyboards/lets_split/sockets/sockets.c (limited to 'keyboards/lets_split') diff --git a/keyboards/lets_split/lets_split.c b/keyboards/lets_split/lets_split.c index ee0c931be2..37e8b3ab9b 100644 --- a/keyboards/lets_split/lets_split.c +++ b/keyboards/lets_split/lets_split.c @@ -1,4 +1,4 @@ -#include "lets_split.h" +#include "quantum.h" #ifdef SWAP_HANDS_ENABLE __attribute__ ((weak)) diff --git a/keyboards/lets_split/lets_split.h b/keyboards/lets_split/lets_split.h deleted file mode 100644 index 90290e586f..0000000000 --- a/keyboards/lets_split/lets_split.h +++ /dev/null @@ -1,11 +0,0 @@ -#pragma once - -#include "quantum.h" - -#ifdef KEYBOARD_lets_split_rev1 - #include "rev1.h" -#elif KEYBOARD_lets_split_rev2 - #include "rev2.h" -#elif KEYBOARD_lets_split_sockets - #include "sockets.h" -#endif diff --git a/keyboards/lets_split/rev1/rev1.c b/keyboards/lets_split/rev1/rev1.c deleted file mode 100644 index 3caa114c22..0000000000 --- a/keyboards/lets_split/rev1/rev1.c +++ /dev/null @@ -1 +0,0 @@ -#include "lets_split.h" diff --git a/keyboards/lets_split/rev1/rev1.h b/keyboards/lets_split/rev1/rev1.h index 6a65954f22..da7bb4ff92 100644 --- a/keyboards/lets_split/rev1/rev1.h +++ b/keyboards/lets_split/rev1/rev1.h @@ -1,7 +1,5 @@ #pragma once -#include "lets_split.h" - #include "quantum.h" #define LAYOUT( \ diff --git a/keyboards/lets_split/rev2/rev2.c b/keyboards/lets_split/rev2/rev2.c deleted file mode 100644 index 3caa114c22..0000000000 --- a/keyboards/lets_split/rev2/rev2.c +++ /dev/null @@ -1 +0,0 @@ -#include "lets_split.h" diff --git a/keyboards/lets_split/rev2/rev2.h b/keyboards/lets_split/rev2/rev2.h index 47f085254a..14db8b445b 100644 --- a/keyboards/lets_split/rev2/rev2.h +++ b/keyboards/lets_split/rev2/rev2.h @@ -1,7 +1,5 @@ #pragma once -#include "lets_split.h" - #include "quantum.h" #ifndef FLIP_HALF diff --git a/keyboards/lets_split/sockets/sockets.c b/keyboards/lets_split/sockets/sockets.c deleted file mode 100644 index 3caa114c22..0000000000 --- a/keyboards/lets_split/sockets/sockets.c +++ /dev/null @@ -1 +0,0 @@ -#include "lets_split.h" diff --git a/keyboards/lets_split/sockets/sockets.h b/keyboards/lets_split/sockets/sockets.h index 47f085254a..14db8b445b 100644 --- a/keyboards/lets_split/sockets/sockets.h +++ b/keyboards/lets_split/sockets/sockets.h @@ -1,7 +1,5 @@ #pragma once -#include "lets_split.h" - #include "quantum.h" #ifndef FLIP_HALF -- cgit v1.2.3