From: Christian Brauner Date: Wed, 24 Sep 2025 11:34:00 +0000 (+0200) Subject: ns: drop assert X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af075603f27b0f6e05f1bdf64bad42fa7cfb033b;p=thirdparty%2Fkernel%2Fstable.git ns: drop assert Otherwise we warn when e.g., no namespaces are configured but the initial namespace for is still around. Reviewed-by: Jan Kara Signed-off-by: Christian Brauner --- diff --git a/kernel/nscommon.c b/kernel/nscommon.c index 92c9df1e87741..c1fb2bad6d729 100644 --- a/kernel/nscommon.c +++ b/kernel/nscommon.c @@ -46,8 +46,6 @@ static void ns_debug(struct ns_common *ns, const struct proc_ns_operations *ops) VFS_WARN_ON_ONCE(ops != &utsns_operations); break; #endif - default: - VFS_WARN_ON_ONCE(true); } } #endif