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:
parent
741d8eee7a
commit
c0f2720890
1 changed files with 0 additions and 1 deletions
|
@ -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));
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @}
|
* @}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue