remove usage of ATOMIC_VAR_INIT

This was never truly required in practice and has been officially
obsoleted in C17.
pull/65/head
Daniel Micay 2018-10-13 16:49:06 -04:00
parent 65a7014b48
commit 3db3e167ed
1 changed files with 1 additions and 3 deletions

View File

@ -44,9 +44,7 @@ static union {
atomic_bool initialized;
};
char padding[PAGE_SIZE];
} ro __attribute__((aligned(PAGE_SIZE))) = {
.initialized = ATOMIC_VAR_INIT(false)
};
} ro __attribute__((aligned(PAGE_SIZE)));
struct slab_metadata {
u64 bitmap[4];