diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-16 20:18:33 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 20:18:33 +1100 |
commit | 9dbee3e23d28e5f61384bbb5650505a572022341 (patch) | |
tree | bfa5fae549305e780fb81ce7275ced1f808a7e36 /keyboards/kbdfans | |
parent | 72da3ee63e110392bebaa64dd7d862fb99097505 (diff) |
Remove useless "ifdef KEYBOARD_*" (#20078)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/kbdfans')
-rw-r--r-- | keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c | 17 | ||||
-rw-r--r-- | keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h | 28 | ||||
-rw-r--r-- | keyboards/kbdfans/kbd75/kbd75.c | 4 | ||||
-rw-r--r-- | keyboards/kbdfans/kbd75/kbd75.h | 12 | ||||
-rw-r--r-- | keyboards/kbdfans/kbd75/rev1/rev1.c | 4 | ||||
-rw-r--r-- | keyboards/kbdfans/kbd75/rev1/rev1.h | 2 | ||||
-rw-r--r-- | keyboards/kbdfans/kbd75/rev2/rev2.c | 4 | ||||
-rw-r--r-- | keyboards/kbdfans/kbd75/rev2/rev2.h | 2 |
8 files changed, 2 insertions, 71 deletions
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c b/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c deleted file mode 100644 index 7a105ae549..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2021 DZTECH <moyi4681@live.cn> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#include "mkiirgb.h" diff --git a/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h b/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h deleted file mode 100644 index dadc230626..0000000000 --- a/keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.h +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright 2021 DZTECH <moyi4681@live.cn> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#if defined(KEYBOARD_kbdfans_kbd67_mkiirgb_v1) - #include "v1.h" -#elif defined(KEYBOARD_kbdfans_kbd67_mkiirgb_v2) - #include "v2.h" -#elif defined(KEYBOARD_kbdfans_kbd67_mkiirgb_v3) - #include "v3.h" -#elif defined(KEYBOARD_kbdfans_kbd67_mkiirgb_v4) - #include "v4.h" -#endif -#include "quantum.h" diff --git a/keyboards/kbdfans/kbd75/kbd75.c b/keyboards/kbdfans/kbd75/kbd75.c deleted file mode 100644 index 1a1bffa360..0000000000 --- a/keyboards/kbdfans/kbd75/kbd75.c +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2017 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "kbd75.h" diff --git a/keyboards/kbdfans/kbd75/kbd75.h b/keyboards/kbdfans/kbd75/kbd75.h deleted file mode 100644 index a2c5d9e4c3..0000000000 --- a/keyboards/kbdfans/kbd75/kbd75.h +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2017-2019 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "quantum.h" - -#if defined(KEYBOARD_kbdfans_kbd75_rev1) - #include "rev1.h" -#elif defined(KEYBOARD_kbdfans_kbd75_rev2) - #include "rev2.h" -#endif diff --git a/keyboards/kbdfans/kbd75/rev1/rev1.c b/keyboards/kbdfans/kbd75/rev1/rev1.c deleted file mode 100644 index e7ba9f3722..0000000000 --- a/keyboards/kbdfans/kbd75/rev1/rev1.c +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2019-2020 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "rev1.h" diff --git a/keyboards/kbdfans/kbd75/rev1/rev1.h b/keyboards/kbdfans/kbd75/rev1/rev1.h index ac7b38ed02..22333324e4 100644 --- a/keyboards/kbdfans/kbd75/rev1/rev1.h +++ b/keyboards/kbdfans/kbd75/rev1/rev1.h @@ -3,7 +3,7 @@ #pragma once -#include "kbd75.h" +#include "quantum.h" #define ___ KC_NO diff --git a/keyboards/kbdfans/kbd75/rev2/rev2.c b/keyboards/kbdfans/kbd75/rev2/rev2.c deleted file mode 100644 index 352d837437..0000000000 --- a/keyboards/kbdfans/kbd75/rev2/rev2.c +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2019-2020 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "rev2.h" diff --git a/keyboards/kbdfans/kbd75/rev2/rev2.h b/keyboards/kbdfans/kbd75/rev2/rev2.h index f37be40094..dba3cc2fab 100644 --- a/keyboards/kbdfans/kbd75/rev2/rev2.h +++ b/keyboards/kbdfans/kbd75/rev2/rev2.h @@ -3,7 +3,7 @@ #pragma once -#include "kbd75.h" +#include "quantum.h" #define ___ KC_NO |