diff options
-rw-r--r-- | src/basic/unit-name.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/basic/unit-name.h b/src/basic/unit-name.h index 0629db3f67..2bbf73b42a 100644 --- a/src/basic/unit-name.h +++ b/src/basic/unit-name.h @@ -20,11 +20,6 @@ bool unit_prefix_is_valid(const char *p) _pure_; bool unit_instance_is_valid(const char *i) _pure_; bool unit_suffix_is_valid(const char *s) _pure_; -static inline int unit_prefix_and_instance_is_valid(const char *p) { - /* For prefix+instance and instance the same rules apply */ - return unit_instance_is_valid(p); -} - int unit_name_to_prefix(const char *n, char **prefix); int unit_name_to_instance(const char *n, char **instance); int unit_name_to_prefix_and_instance(const char *n, char **ret); |