Remove count_1bits_8() from util.c. It appears to be unused since c3cc4d2dd2658238 ("util: Better count_1bits().")
Cc: Jarno Rajahalme <jrajaha...@nicira.com> Signed-off-by: Simon Horman <ho...@verge.net.au> --- lib/util.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/lib/util.c b/lib/util.c index 13d41a7..f0819bf 100644 --- a/lib/util.c +++ b/lib/util.c @@ -901,28 +901,6 @@ raw_clz64(uint64_t n) } #endif -#if !(__GNUC__ >= 4 && defined(__corei7)) -#define INIT1(X) \ - ((((X) & (1 << 0)) != 0) + \ - (((X) & (1 << 1)) != 0) + \ - (((X) & (1 << 2)) != 0) + \ - (((X) & (1 << 3)) != 0) + \ - (((X) & (1 << 4)) != 0) + \ - (((X) & (1 << 5)) != 0) + \ - (((X) & (1 << 6)) != 0) + \ - (((X) & (1 << 7)) != 0)) -#define INIT2(X) INIT1(X), INIT1((X) + 1) -#define INIT4(X) INIT2(X), INIT2((X) + 2) -#define INIT8(X) INIT4(X), INIT4((X) + 4) -#define INIT16(X) INIT8(X), INIT8((X) + 8) -#define INIT32(X) INIT16(X), INIT16((X) + 16) -#define INIT64(X) INIT32(X), INIT32((X) + 32) - -const uint8_t count_1bits_8[256] = { - INIT64(0), INIT64(64), INIT64(128), INIT64(192) -}; -#endif - /* Returns true if the 'n' bytes starting at 'p' are zeros. */ bool is_all_zeros(const uint8_t *p, size_t n) -- 1.8.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev