kernel: poll: remove extra semicolons in macros
When _POLL_EVENT becomes an empty define due to CONFIG_POLL,
it will create an empty line terminated with a semicolon.
Empty struct members contradict the C specification
eventhough most compiler will tolerate it without
-Wpedantic.
Signed-off-by:
Roman Kellner <rkellner@baumer.com>
Loading
Please sign in to comment