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/40percentclub/i75/i75.c | 16 --------------- keyboards/40percentclub/i75/i75.h | 24 ---------------------- keyboards/40percentclub/i75/promicro/promicro.c | 16 --------------- keyboards/40percentclub/i75/promicro/promicro.h | 1 - keyboards/40percentclub/i75/teensy2/teensy2.c | 16 --------------- keyboards/40percentclub/i75/teensy2/teensy2.h | 1 - keyboards/40percentclub/polyandry/polyandry.c | 16 --------------- keyboards/40percentclub/polyandry/polyandry.h | 24 ---------------------- .../40percentclub/polyandry/promicro/promicro.c | 16 --------------- .../40percentclub/polyandry/promicro/promicro.h | 2 +- .../40percentclub/polyandry/teensy2/teensy2.c | 16 --------------- .../40percentclub/polyandry/teensy2/teensy2.h | 2 +- 12 files changed, 2 insertions(+), 148 deletions(-) delete mode 100644 keyboards/40percentclub/i75/i75.c delete mode 100644 keyboards/40percentclub/i75/i75.h delete mode 100644 keyboards/40percentclub/i75/promicro/promicro.c delete mode 100644 keyboards/40percentclub/i75/teensy2/teensy2.c delete mode 100644 keyboards/40percentclub/polyandry/polyandry.c delete mode 100644 keyboards/40percentclub/polyandry/polyandry.h delete mode 100644 keyboards/40percentclub/polyandry/promicro/promicro.c delete mode 100644 keyboards/40percentclub/polyandry/teensy2/teensy2.c (limited to 'keyboards/40percentclub') diff --git a/keyboards/40percentclub/i75/i75.c b/keyboards/40percentclub/i75/i75.c deleted file mode 100644 index 28684e7144..0000000000 --- a/keyboards/40percentclub/i75/i75.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2018 - * - * 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 "i75.h" diff --git a/keyboards/40percentclub/i75/i75.h b/keyboards/40percentclub/i75/i75.h deleted file mode 100644 index a31c9f6e6f..0000000000 --- a/keyboards/40percentclub/i75/i75.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2018 - * - * 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_40percentclub_i75_promicro - #include "promicro.h" -#elif KEYBOARD_40percentclub_i75_teensy2 - #include "teensy2.h" -#endif diff --git a/keyboards/40percentclub/i75/promicro/promicro.c b/keyboards/40percentclub/i75/promicro/promicro.c deleted file mode 100644 index 28684e7144..0000000000 --- a/keyboards/40percentclub/i75/promicro/promicro.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2018 - * - * 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 "i75.h" diff --git a/keyboards/40percentclub/i75/promicro/promicro.h b/keyboards/40percentclub/i75/promicro/promicro.h index 29394855a6..0a617ac36c 100644 --- a/keyboards/40percentclub/i75/promicro/promicro.h +++ b/keyboards/40percentclub/i75/promicro/promicro.h @@ -16,7 +16,6 @@ #pragma once -#include "i75.h" #include "quantum.h" /* This a shortcut to help you visually see your layout. diff --git a/keyboards/40percentclub/i75/teensy2/teensy2.c b/keyboards/40percentclub/i75/teensy2/teensy2.c deleted file mode 100644 index 28684e7144..0000000000 --- a/keyboards/40percentclub/i75/teensy2/teensy2.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2018 - * - * 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 "i75.h" diff --git a/keyboards/40percentclub/i75/teensy2/teensy2.h b/keyboards/40percentclub/i75/teensy2/teensy2.h index 29394855a6..0a617ac36c 100644 --- a/keyboards/40percentclub/i75/teensy2/teensy2.h +++ b/keyboards/40percentclub/i75/teensy2/teensy2.h @@ -16,7 +16,6 @@ #pragma once -#include "i75.h" #include "quantum.h" /* This a shortcut to help you visually see your layout. diff --git a/keyboards/40percentclub/polyandry/polyandry.c b/keyboards/40percentclub/polyandry/polyandry.c deleted file mode 100644 index 2b4be589b8..0000000000 --- a/keyboards/40percentclub/polyandry/polyandry.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2021 - * - * 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 "polyandry.h" diff --git a/keyboards/40percentclub/polyandry/polyandry.h b/keyboards/40percentclub/polyandry/polyandry.h deleted file mode 100644 index 5baf87ba62..0000000000 --- a/keyboards/40percentclub/polyandry/polyandry.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright 2021 - * - * 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_40percentclub_polyandry_promicro - #include "promicro.h" -#elif KEYBOARD_40percentclub_polyandry_teensy2 - #include "teensy2.h" -#endif diff --git a/keyboards/40percentclub/polyandry/promicro/promicro.c b/keyboards/40percentclub/polyandry/promicro/promicro.c deleted file mode 100644 index ea1dd51788..0000000000 --- a/keyboards/40percentclub/polyandry/promicro/promicro.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2021 - * - * 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 "promicro.h" diff --git a/keyboards/40percentclub/polyandry/promicro/promicro.h b/keyboards/40percentclub/polyandry/promicro/promicro.h index 0a6f8b36b8..e2a9dbcf35 100644 --- a/keyboards/40percentclub/polyandry/promicro/promicro.h +++ b/keyboards/40percentclub/polyandry/promicro/promicro.h @@ -15,7 +15,7 @@ */ #pragma once -#include "polyandry.h" +#include "quantum.h" #define LAYOUT_ortho_4x3( \ K000, K001, K002, \ diff --git a/keyboards/40percentclub/polyandry/teensy2/teensy2.c b/keyboards/40percentclub/polyandry/teensy2/teensy2.c deleted file mode 100644 index 33cfb6e553..0000000000 --- a/keyboards/40percentclub/polyandry/teensy2/teensy2.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2021 - * - * 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 "teensy2.h" diff --git a/keyboards/40percentclub/polyandry/teensy2/teensy2.h b/keyboards/40percentclub/polyandry/teensy2/teensy2.h index ce7790434b..dd6ef3f6bb 100644 --- a/keyboards/40percentclub/polyandry/teensy2/teensy2.h +++ b/keyboards/40percentclub/polyandry/teensy2/teensy2.h @@ -20,7 +20,7 @@ //I DO NOT HAVE A TEENSY 2.0 TO TEST WITH. //I believe this should still work - but it's not a sure thing. -#include "polyandry.h" +#include "quantum.h" #define LAYOUT_ortho_4x3( \ K000, K001, K002, \ -- cgit v1.2.3