1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

fmt: Remove unused pwr function

This commit is contained in:
Joakim Nohlgård 2017-09-20 10:49:00 +02:00
parent 81bfb0c97a
commit 301a5d8e70

View File

@ -51,17 +51,6 @@ static inline int _is_digit(char c)
return (c >= '0' && c <= '9');
}
static inline unsigned pwr(unsigned val, unsigned exp)
{
unsigned res = 1;
for (unsigned i = 0; i < exp; i++) {
res *= val;
}
return res;
}
size_t fmt_byte_hex(char *out, uint8_t byte)
{
if (out) {