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/basekeys/slice/rev1/rev1.c | 16 ---------------- keyboards/basekeys/slice/rev1/rev1.h | 2 -- keyboards/basekeys/slice/rev1_rgb/rev1_rgb.c | 16 ---------------- keyboards/basekeys/slice/rev1_rgb/rev1_rgb.h | 2 -- keyboards/basekeys/slice/slice.c | 16 ---------------- keyboards/basekeys/slice/slice.h | 25 ------------------------- 6 files changed, 77 deletions(-) delete mode 100644 keyboards/basekeys/slice/rev1/rev1.c delete mode 100644 keyboards/basekeys/slice/rev1_rgb/rev1_rgb.c delete mode 100644 keyboards/basekeys/slice/slice.c delete mode 100644 keyboards/basekeys/slice/slice.h (limited to 'keyboards/basekeys') diff --git a/keyboards/basekeys/slice/rev1/rev1.c b/keyboards/basekeys/slice/rev1/rev1.c deleted file mode 100644 index a3c8f66fe0..0000000000 --- a/keyboards/basekeys/slice/rev1/rev1.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2020 2Moons - * - * 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 "rev1.h" diff --git a/keyboards/basekeys/slice/rev1/rev1.h b/keyboards/basekeys/slice/rev1/rev1.h index 26a5da31bc..f4d631eb6b 100644 --- a/keyboards/basekeys/slice/rev1/rev1.h +++ b/keyboards/basekeys/slice/rev1/rev1.h @@ -15,8 +15,6 @@ */ #pragma once -#include "slice.h" - #include "quantum.h" ////////////////////////////////////////////////////////////////////////////// diff --git a/keyboards/basekeys/slice/rev1_rgb/rev1_rgb.c b/keyboards/basekeys/slice/rev1_rgb/rev1_rgb.c deleted file mode 100644 index 9ab3d2539a..0000000000 --- a/keyboards/basekeys/slice/rev1_rgb/rev1_rgb.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2020 2Moons - * - * 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 "rev1_rgb.h" diff --git a/keyboards/basekeys/slice/rev1_rgb/rev1_rgb.h b/keyboards/basekeys/slice/rev1_rgb/rev1_rgb.h index fdc5331585..0b0ea725e7 100644 --- a/keyboards/basekeys/slice/rev1_rgb/rev1_rgb.h +++ b/keyboards/basekeys/slice/rev1_rgb/rev1_rgb.h @@ -15,8 +15,6 @@ */ #pragma once -#include "slice.h" - #include "quantum.h" ////////////////////////////////////////////////////////////////////////////// diff --git a/keyboards/basekeys/slice/slice.c b/keyboards/basekeys/slice/slice.c deleted file mode 100644 index 2d7d111f9a..0000000000 --- a/keyboards/basekeys/slice/slice.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2020 2Moons - * - * 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 "slice.h" diff --git a/keyboards/basekeys/slice/slice.h b/keyboards/basekeys/slice/slice.h deleted file mode 100644 index bc3eb813a2..0000000000 --- a/keyboards/basekeys/slice/slice.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2020 2Moons - * - * 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_basekeys_slice_rev1 - #include "rev1.h" -#endif - -#ifdef KEYBOARD_basekeys_slice_rev1_rgb - #include "rev1_rgb.h" -#endif -- cgit v1.2.3