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/sofle/keyhive/keyhive.c | 19 ------------------- keyboards/sofle/rev1/rev1.c | 2 +- keyboards/sofle/sofle.c | 2 +- keyboards/sofle/sofle.h | 7 ------- 4 files changed, 2 insertions(+), 28 deletions(-) delete mode 100755 keyboards/sofle/keyhive/keyhive.c delete mode 100644 keyboards/sofle/sofle.h (limited to 'keyboards/sofle') diff --git a/keyboards/sofle/keyhive/keyhive.c b/keyboards/sofle/keyhive/keyhive.c deleted file mode 100755 index 72e2d583f1..0000000000 --- a/keyboards/sofle/keyhive/keyhive.c +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright - * 2021 solartempest - * 2021 QMK - * - * 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 . - */ - -#include "keyhive.h" diff --git a/keyboards/sofle/rev1/rev1.c b/keyboards/sofle/rev1/rev1.c index 88a28e6a40..567f8301e3 100644 --- a/keyboards/sofle/rev1/rev1.c +++ b/keyboards/sofle/rev1/rev1.c @@ -14,7 +14,7 @@ * along with this program. If not, see . */ -#include "sofle.h" +#include "rev1.h" #ifdef RGB_MATRIX_ENABLE // Physical Layout diff --git a/keyboards/sofle/sofle.c b/keyboards/sofle/sofle.c index cdb8c1671a..bd3f3e157c 100644 --- a/keyboards/sofle/sofle.c +++ b/keyboards/sofle/sofle.c @@ -1,4 +1,4 @@ -#include "sofle.h" +#include "quantum.h" #ifdef SWAP_HANDS_ENABLE diff --git a/keyboards/sofle/sofle.h b/keyboards/sofle/sofle.h deleted file mode 100644 index 90ee00bfd7..0000000000 --- a/keyboards/sofle/sofle.h +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -#if defined(KEYBOARD_sofle_rev1) -# include "rev1.h" -#elif defined(KEYBOARD_sofle_keyhive) -# include "keyhive.h" -#endif -- cgit v1.2.3