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/primekb/prime_l/prime_l.c | 17 ----------------- keyboards/primekb/prime_l/prime_l.h | 26 -------------------------- keyboards/primekb/prime_l/v1/v1.h | 2 +- keyboards/primekb/prime_l/v2/v2.h | 2 +- 4 files changed, 2 insertions(+), 45 deletions(-) delete mode 100644 keyboards/primekb/prime_l/prime_l.c delete mode 100644 keyboards/primekb/prime_l/prime_l.h (limited to 'keyboards/primekb/prime_l') diff --git a/keyboards/primekb/prime_l/prime_l.c b/keyboards/primekb/prime_l/prime_l.c deleted file mode 100644 index 5a7a0a1008..0000000000 --- a/keyboards/primekb/prime_l/prime_l.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2018 Jumail Mundekkat - * Copyright 2020 Holten Campbell - * - * 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 "prime_l.h" \ No newline at end of file diff --git a/keyboards/primekb/prime_l/prime_l.h b/keyboards/primekb/prime_l/prime_l.h deleted file mode 100644 index 10b587b6a0..0000000000 --- a/keyboards/primekb/prime_l/prime_l.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright 2018 Jumail Mundekkat - * Copyright 2020 Holten Campbell - * - * 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" - -#if defined(KEYBOARD_primekb_prime_l_v1) - #include "v1.h" -#elif defined(KEYBOARD_primekb_prime_l_v2) - #include "v2.h" -#endif diff --git a/keyboards/primekb/prime_l/v1/v1.h b/keyboards/primekb/prime_l/v1/v1.h index bb82bacf5b..4ee291679f 100644 --- a/keyboards/primekb/prime_l/v1/v1.h +++ b/keyboards/primekb/prime_l/v1/v1.h @@ -16,7 +16,7 @@ #pragma once -#include "prime_l.h" +#include "quantum.h" #define LAYOUT( \ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, \ diff --git a/keyboards/primekb/prime_l/v2/v2.h b/keyboards/primekb/prime_l/v2/v2.h index ebac56e76c..b0924d5d79 100644 --- a/keyboards/primekb/prime_l/v2/v2.h +++ b/keyboards/primekb/prime_l/v2/v2.h @@ -16,7 +16,7 @@ #pragma once -#include "prime_l.h" +#include "quantum.h" #define LAYOUT( \ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, K015, \ -- cgit v1.2.3