tag: remove the :b formatter

Superseded by /N. Removing since a) it's no longer needed, and b) its
name is not consistent with the other kb/mb/gb formatters.
This commit is contained in:
Daniel Eklöf 2024-09-05 08:23:47 +02:00
parent c80bae7604
commit 060586dbbe
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 0 additions and 11 deletions

4
tag.c
View file

@ -545,10 +545,6 @@ tags_expand_template(const char *template, const struct tag_set *tags)
LOG_WARN("tag `%s`: invalid divider %s, reset to 1", tag_name, divider_str);
}
}
else if (strcmp(tag_args[i], "b") == 0) {
format = FMT_DIVIDE;
divider = 8;
}
else if (strcmp(tag_args[i], "kb") == 0) {
format = FMT_DIVIDE;
divider = 1000;