From a941d4169f02b945a35851e7ede10efd811ad3f8 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 11 Mar 2021 22:24:05 -0600 Subject: [PATCH] util: Remove unused util_set_bit --- src/util.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/util.h b/src/util.h index e61bef75..a1db0a78 100644 --- a/src/util.h +++ b/src/util.h @@ -55,11 +55,6 @@ static inline bool util_is_bit_set(const uint8_t oct, int bit) return oct & mask ? true : false; } -static inline void util_set_bit(uint8_t *field, unsigned int bit) -{ - field[bit / 8] = 1 << (bit % 8); -} - /* * Returns either true_value or false_value (depending if mask is 0xFF or 0x00 * respectively).