summaryrefslogtreecommitdiff
path: root/src/shared/nsflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/nsflags.c')
-rw-r--r--src/shared/nsflags.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/shared/nsflags.c b/src/shared/nsflags.c
index 8fcbe97ba7..911779a28f 100644
--- a/src/shared/nsflags.c
+++ b/src/shared/nsflags.c
@@ -69,11 +69,6 @@ int namespace_flag_from_string_many(const char *name, unsigned long *ret) {
assert_se(ret);
- if (!name) {
- *ret = 0;
- return 0;
- }
-
for (;;) {
_cleanup_free_ char *word = NULL;
unsigned long f;