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/atreus/astar/astar.c | 16 ---------------- keyboards/atreus/astar/astar.h | 17 ----------------- keyboards/atreus/astar_mirrored/astar_mirrored.c | 16 ---------------- keyboards/atreus/astar_mirrored/astar_mirrored.h | 17 ----------------- keyboards/atreus/atreus.c | 17 ----------------- keyboards/atreus/atreus.h | 14 -------------- keyboards/atreus/f103/f103.c | 17 ----------------- keyboards/atreus/f103/f103.h | 17 ----------------- keyboards/atreus/feather/feather.c | 16 ---------------- keyboards/atreus/feather/feather.h | 17 ----------------- keyboards/atreus/promicro/promicro.c | 16 ---------------- keyboards/atreus/promicro/promicro.h | 17 ----------------- keyboards/atreus/teensy2/teensy2.c | 16 ---------------- keyboards/atreus/teensy2/teensy2.h | 17 ----------------- 14 files changed, 230 deletions(-) delete mode 100644 keyboards/atreus/astar/astar.c delete mode 100644 keyboards/atreus/astar/astar.h delete mode 100644 keyboards/atreus/astar_mirrored/astar_mirrored.c delete mode 100644 keyboards/atreus/astar_mirrored/astar_mirrored.h delete mode 100644 keyboards/atreus/atreus.c delete mode 100644 keyboards/atreus/f103/f103.c delete mode 100644 keyboards/atreus/f103/f103.h delete mode 100644 keyboards/atreus/feather/feather.c delete mode 100644 keyboards/atreus/feather/feather.h delete mode 100644 keyboards/atreus/promicro/promicro.c delete mode 100644 keyboards/atreus/promicro/promicro.h delete mode 100644 keyboards/atreus/teensy2/teensy2.c delete mode 100644 keyboards/atreus/teensy2/teensy2.h (limited to 'keyboards/atreus') diff --git a/keyboards/atreus/astar/astar.c b/keyboards/atreus/astar/astar.c deleted file mode 100644 index 19490deb99..0000000000 --- a/keyboards/atreus/astar/astar.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2019 - * - * 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 "atreus.h" diff --git a/keyboards/atreus/astar/astar.h b/keyboards/atreus/astar/astar.h deleted file mode 100644 index bf74ceb17f..0000000000 --- a/keyboards/atreus/astar/astar.h +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2019 - * - * 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 diff --git a/keyboards/atreus/astar_mirrored/astar_mirrored.c b/keyboards/atreus/astar_mirrored/astar_mirrored.c deleted file mode 100644 index b8eacded63..0000000000 --- a/keyboards/atreus/astar_mirrored/astar_mirrored.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2019 - * - * 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 "astar_mirrored.h" diff --git a/keyboards/atreus/astar_mirrored/astar_mirrored.h b/keyboards/atreus/astar_mirrored/astar_mirrored.h deleted file mode 100644 index bf74ceb17f..0000000000 --- a/keyboards/atreus/astar_mirrored/astar_mirrored.h +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2019 - * - * 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 diff --git a/keyboards/atreus/atreus.c b/keyboards/atreus/atreus.c deleted file mode 100644 index 33bb5f35ad..0000000000 --- a/keyboards/atreus/atreus.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2019 - * - * 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 "atreus.h" diff --git a/keyboards/atreus/atreus.h b/keyboards/atreus/atreus.h index 2753434535..2a966b8641 100644 --- a/keyboards/atreus/atreus.h +++ b/keyboards/atreus/atreus.h @@ -18,20 +18,6 @@ #include "quantum.h" #define ___ KC_NO -#ifdef KEYBOARD_atreus_astar - #include "astar.h" -#elif KEYBOARD_atreus_astar_mirrored - #include "astar_mirrored.h" -#elif KEYBOARD_atreus_feather - #include "feather.h" -#elif KEYBOARD_atreus_teensy2 - #include "teensy2.h" -#elif KEYBOARD_atreus_promicro - #include "promicro.h" -#elif KEYBOARD_atreus_f103 - #include "f103.h" -#endif - // This a shortcut to help you visually see your layout. // The first section contains all of the arguments. // The second converts the arguments into a two-dimensional array. diff --git a/keyboards/atreus/f103/f103.c b/keyboards/atreus/f103/f103.c deleted file mode 100644 index acac0ed71c..0000000000 --- a/keyboards/atreus/f103/f103.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2022 DmNosachev - * - * 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 "f103.h" diff --git a/keyboards/atreus/f103/f103.h b/keyboards/atreus/f103/f103.h deleted file mode 100644 index 305b26798b..0000000000 --- a/keyboards/atreus/f103/f103.h +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2022 DmNosachev - * - * 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 diff --git a/keyboards/atreus/feather/feather.c b/keyboards/atreus/feather/feather.c deleted file mode 100644 index ceebc51c23..0000000000 --- a/keyboards/atreus/feather/feather.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2019 - * - * 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 "feather.h" diff --git a/keyboards/atreus/feather/feather.h b/keyboards/atreus/feather/feather.h deleted file mode 100644 index bf74ceb17f..0000000000 --- a/keyboards/atreus/feather/feather.h +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2019 - * - * 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 diff --git a/keyboards/atreus/promicro/promicro.c b/keyboards/atreus/promicro/promicro.c deleted file mode 100644 index ad08ac9f01..0000000000 --- a/keyboards/atreus/promicro/promicro.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2020 - * - * 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/atreus/promicro/promicro.h b/keyboards/atreus/promicro/promicro.h deleted file mode 100644 index bf74ceb17f..0000000000 --- a/keyboards/atreus/promicro/promicro.h +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2019 - * - * 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 diff --git a/keyboards/atreus/teensy2/teensy2.c b/keyboards/atreus/teensy2/teensy2.c deleted file mode 100644 index 19490deb99..0000000000 --- a/keyboards/atreus/teensy2/teensy2.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2019 - * - * 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 "atreus.h" diff --git a/keyboards/atreus/teensy2/teensy2.h b/keyboards/atreus/teensy2/teensy2.h deleted file mode 100644 index bf74ceb17f..0000000000 --- a/keyboards/atreus/teensy2/teensy2.h +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2019 - * - * 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 -- cgit v1.2.3