include: remove enum build assert

Since the size of an enum can be undefined in certain compilations
environments, remove the BUILD_ASSERT that verifies that the enum is
16 bits.

Signed-off-by: Jett Rink <jettrink@google.com>
This commit is contained in:
Jett Rink 2020-09-23 10:20:40 -06:00 committed by Carles Cufí
commit c0f2720890

View file

@ -199,7 +199,6 @@ enum ec_host_cmd_status {
EC_HOST_CMD_MAX = UINT16_MAX /* Force enum to be 16 bits */ EC_HOST_CMD_MAX = UINT16_MAX /* Force enum to be 16 bits */
} __packed; } __packed;
BUILD_ASSERT(sizeof(enum ec_host_cmd_status) == sizeof(uint16_t));
/** /**
* @} * @}