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/keebio/sinc/rev1/rev1.h | 1 - keyboards/keebio/sinc/rev2/rev2.h | 1 - keyboards/keebio/sinc/rev3/rev3.h | 1 - keyboards/keebio/sinc/sinc.c | 2 +- keyboards/keebio/sinc/sinc.h | 28 ---------------------------- 5 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 keyboards/keebio/sinc/sinc.h (limited to 'keyboards/keebio/sinc') diff --git a/keyboards/keebio/sinc/rev1/rev1.h b/keyboards/keebio/sinc/rev1/rev1.h index b8c9f7a14f..45d7ab05d1 100644 --- a/keyboards/keebio/sinc/rev1/rev1.h +++ b/keyboards/keebio/sinc/rev1/rev1.h @@ -1,6 +1,5 @@ #pragma once -#include "sinc.h" #include "quantum.h" #define XXX KC_NO diff --git a/keyboards/keebio/sinc/rev2/rev2.h b/keyboards/keebio/sinc/rev2/rev2.h index f73af295b2..8960cf7579 100644 --- a/keyboards/keebio/sinc/rev2/rev2.h +++ b/keyboards/keebio/sinc/rev2/rev2.h @@ -16,7 +16,6 @@ along with this program. If not, see . #pragma once -#include "sinc.h" #include "quantum.h" #define LAYOUT_75( \ diff --git a/keyboards/keebio/sinc/rev3/rev3.h b/keyboards/keebio/sinc/rev3/rev3.h index 57d072398a..b863ddfe20 100644 --- a/keyboards/keebio/sinc/rev3/rev3.h +++ b/keyboards/keebio/sinc/rev3/rev3.h @@ -16,7 +16,6 @@ along with this program. If not, see . #pragma once -#include "sinc.h" #include "quantum.h" #define LAYOUT_75( \ diff --git a/keyboards/keebio/sinc/sinc.c b/keyboards/keebio/sinc/sinc.c index 9b2f6da512..d50eb82019 100644 --- a/keyboards/keebio/sinc/sinc.c +++ b/keyboards/keebio/sinc/sinc.c @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "sinc.h" +#include "quantum.h" #include "split_util.h" #ifdef BACKLIGHT_ENABLE diff --git a/keyboards/keebio/sinc/sinc.h b/keyboards/keebio/sinc/sinc.h deleted file mode 100644 index 4607d8125c..0000000000 --- a/keyboards/keebio/sinc/sinc.h +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright 2021 Danny Nguyen - -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 . -*/ -#pragma once - -#include "quantum.h" - -#ifdef KEYBOARD_keebio_sinc_rev1 - #include "rev1.h" -#endif -#ifdef KEYBOARD_keebio_sinc_rev2 - #include "rev2.h" -#endif -#ifdef KEYBOARD_keebio_sinc_rev3 - #include "rev3.h" -#endif -- cgit v1.2.3