diff options
author | Eric Biggers <ebiggers@google.com> | 2019-06-18 13:56:29 -0700 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2019-06-18 13:56:29 -0700 |
commit | 5d8246cfeb8050204225ce7649955ae493d3f50b (patch) | |
tree | afe0b06bfcf2b6fb910c58d64dbe5407cda04179 | |
parent | b09ba7eb3fa537d4d1184ea0aecd2c57ac121cce (diff) | |
download | fsverity-utils-5d8246cfeb8050204225ce7649955ae493d3f50b.tar.gz |
util.h: remove unused ALIGN() macro
Signed-off-by: Eric Biggers <ebiggers@google.com>
-rw-r--r-- | util.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -58,12 +58,6 @@ typedef uint64_t u64; #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) -/* - * Round 'v' up to the next 'alignment'-byte aligned boundary. - * 'alignment' must be a power of 2. - */ -#define ALIGN(v, alignment) (((v) + ((alignment) - 1)) & ~((alignment) - 1)) - static inline bool is_power_of_2(unsigned long n) { return n != 0 && ((n & (n - 1)) == 0); |