From 8b0e5a34fcbc66e04cec3fc297c20a34e79c4dc0 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sun, 24 Nov 2013 11:49:24 -0800 Subject: iflag: remove C99 constructs, don't hardcode the number of words Avoid using C99 constructs when not necessary. Don't hardcode the number of words when we can autodiscover them. Signed-off-by: H. Peter Anvin --- iflag.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'iflag.h') diff --git a/iflag.h b/iflag.h index d08249e..72929ee 100644 --- a/iflag.h +++ b/iflag.h @@ -37,10 +37,6 @@ int ilog2_32(uint32_t v); * * iflag_t is defined to store these flags. */ -typedef struct { - uint32_t field[4]; -} iflag_t; - #include "iflaggen.h" #define IF_GENBIT(bit) (UINT32_C(1) << (bit)) -- cgit v1.2.3