diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-06-29 15:10:48 +0000 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-07-27 11:22:53 +0400 |
commit | 9220eeed62e06e115c83e6ffed24907c24c99197 (patch) | |
tree | fb1de81c3544d3e80bdad7b74bc502427002678a /util/aes.c | |
parent | 200a06397f5d3e982028fd78b25b420507ade021 (diff) |
aes: Remove unused code (NDEBUG, u16)
The current code includes assert.h very early (from qemu-common.h),
so the definition of NDEBUG was without any effect.
In the initial version from 2004, NDEBUG was used to disable the assertions.
Those assertions are not in time critical code, so it is no longer
reasonable to disable them and the definition of NDEBUG can be removed.
Type u16 is also unused and therefore does not need a type definition.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'util/aes.c')
-rw-r--r-- | util/aes.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/util/aes.c b/util/aes.c index 91e97fa6e7..4b4d88e7e6 100644 --- a/util/aes.c +++ b/util/aes.c @@ -30,12 +30,7 @@ #include "qemu-common.h" #include "qemu/aes.h" -#ifndef NDEBUG -#define NDEBUG -#endif - typedef uint32_t u32; -typedef uint16_t u16; typedef uint8_t u8; /* This controls loop-unrolling in aes_core.c */ |