3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

util: Remove unused util_set_bit

This commit is contained in:
Denis Kenzior 2021-03-11 22:24:05 -06:00
parent 666402870e
commit a941d4169f

View File

@ -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).