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/redox/redox.c | 16 ---------------- keyboards/redox/redox.h | 25 ------------------------- keyboards/redox/rev1/proton_c/proton_c.c | 4 ---- keyboards/redox/rev1/proton_c/proton_c.h | 6 ------ keyboards/redox/rev1/rev1.c | 1 - keyboards/redox/rev1/rev1.h | 6 ------ 6 files changed, 58 deletions(-) delete mode 100644 keyboards/redox/redox.c delete mode 100644 keyboards/redox/redox.h delete mode 100644 keyboards/redox/rev1/proton_c/proton_c.c delete mode 100644 keyboards/redox/rev1/proton_c/proton_c.h delete mode 100644 keyboards/redox/rev1/rev1.c (limited to 'keyboards/redox') diff --git a/keyboards/redox/redox.c b/keyboards/redox/redox.c deleted file mode 100644 index 7fa3545a47..0000000000 --- a/keyboards/redox/redox.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2017 REPLACE_WITH_YOUR_NAME - * - * 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 "redox.h" diff --git a/keyboards/redox/redox.h b/keyboards/redox/redox.h deleted file mode 100644 index 4160096b28..0000000000 --- a/keyboards/redox/redox.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2017 REPLACE_WITH_YOUR_NAME - * - * 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 - -#if defined(KEYBOARD_redox_rev1) -# include "rev1.h" -#elif defined(KEYBOARD_redox_media) -# include "media.h" -#endif - -#include "quantum.h" diff --git a/keyboards/redox/rev1/proton_c/proton_c.c b/keyboards/redox/rev1/proton_c/proton_c.c deleted file mode 100644 index 796e2c8c3d..0000000000 --- a/keyboards/redox/rev1/proton_c/proton_c.c +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2022 xerootg -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "proton_c.h" diff --git a/keyboards/redox/rev1/proton_c/proton_c.h b/keyboards/redox/rev1/proton_c/proton_c.h deleted file mode 100644 index d8813d9c4d..0000000000 --- a/keyboards/redox/rev1/proton_c/proton_c.h +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2022 xerootg -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include "rev1.h" diff --git a/keyboards/redox/rev1/rev1.c b/keyboards/redox/rev1/rev1.c deleted file mode 100644 index b1ab15df32..0000000000 --- a/keyboards/redox/rev1/rev1.c +++ /dev/null @@ -1 +0,0 @@ -#include "redox.h" diff --git a/keyboards/redox/rev1/rev1.h b/keyboards/redox/rev1/rev1.h index a3253e9411..4ad423d897 100644 --- a/keyboards/redox/rev1/rev1.h +++ b/keyboards/redox/rev1/rev1.h @@ -1,11 +1,5 @@ #pragma once -#include "redox.h" - -#if defined(KEYBOARD_redox_rev1_proton_c) -# include "proton_c.h" -#endif - #include "quantum.h" #define LAYOUT( \ -- cgit v1.2.3