resolvectl: drop service_family_{from,to}_string()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 May 2018 08:52:36 +0000 (17:52 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 May 2018 08:52:36 +0000 (17:52 +0900)
commitebbc70e511c8b18f299f58dd641805eaab603865
tree88bd1f83f2095b9f98597abca4a2559a87f9fb4f
parentb088e905f7634f8f3b9d6495f7bfd7db61eaaba6
resolvectl: drop service_family_{from,to}_string()

These functions are used only for checking the validity of input string.
Hence, this drops them and introduces a simple checking function.
src/resolve/resolvectl.c