From ff93050b3145ecf9cbd65ec6cf4b63448c500c7a Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Mon, 5 Sep 2016 23:31:58 -0700 Subject: [PATCH] Remove static_assert for sizeof(uint32_t) <= sizeof(void*) (#220) According to #192, we don't cast integers to pointers anymore. The size static_assert is unnecessary. --- hal/lib/athena/SPI.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/hal/lib/athena/SPI.cpp b/hal/lib/athena/SPI.cpp index 9ddf0f69c2..d4fc5ccbf8 100644 --- a/hal/lib/athena/SPI.cpp +++ b/hal/lib/athena/SPI.cpp @@ -16,9 +16,6 @@ #include "HAL/cpp/priority_mutex.h" #include "spilib/spi-lib.h" -static_assert(sizeof(uint32_t) <= sizeof(void*), - "This file shoves uint32_ts into pointers."); - using namespace hal; static int32_t m_spiCS0Handle = 0;