]> git.ipfire.org Git - thirdparty/systemd.git/commit
namespace: make ns_type_supported() a tiny bit shorter 7045/head
authorLennart Poettering <lennart@poettering.net>
Tue, 10 Oct 2017 07:50:23 +0000 (09:50 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 10 Oct 2017 07:52:08 +0000 (09:52 +0200)
commit0fa5b8312abfe3eff7e45f58619276917e597815
treedba54718b9c3fe9f382568c2f42293288d0df8c4
parentbb0ff3fb1bc57df3c6f40817e160f94bc2814678
namespace: make ns_type_supported() a tiny bit shorter

namespace_type_to_string() already validates the type paramater, we can
use that, and shorten the function a bit.
src/core/namespace.c