diff --git a/cpu/lm4f120/periph/spi.c b/cpu/lm4f120/periph/spi.c
index ef9fe6f1fccb8f2b89a70c7152cc7d1849ff6eac..f9e879f15194ad7e0a64dc9cebd114d531e35ed6 100644
--- a/cpu/lm4f120/periph/spi.c
+++ b/cpu/lm4f120/periph/spi.c
@@ -27,8 +27,6 @@
 #define ENABLE_DEBUG (0)
 #include "debug.h"
 
-#ifdef SPI_NUMOF
-
 /**
  * @brief Array holding one pre-initialized mutex for each SPI device
  */
@@ -137,5 +135,3 @@ void spi_transfer_bytes(spi_t bus, spi_cs_t cs, bool cont,
         gpio_set((gpio_t)cs);
     }
 }
-
-#endif /* SPI_NUMOF */
diff --git a/cpu/lm4f120/periph/timer.c b/cpu/lm4f120/periph/timer.c
index 97da40450cf3308ad2472deb5b0ffc5a701647ed..ab37fc8938691fd866eb8c4ed7dea4da58e7e3e7 100644
--- a/cpu/lm4f120/periph/timer.c
+++ b/cpu/lm4f120/periph/timer.c
@@ -29,9 +29,6 @@
 #define ENABLE_DEBUG (0)
 #include "debug.h"
 
-/* guard file in case no timers are defined */
-#if TIMER_NUMOF
-
 /**
  * @brief Struct holding the configuration data
  * @{
@@ -344,6 +341,4 @@ void isr_wtimer1a(void)
     cortexm_isr_end();
 }
 #endif /* TIMER_1_EN */
-
-#endif /* TIMER_NUMOF */
 /** @} */