Merge patch series "Minor namespace code simplication"
authorChristian Brauner <brauner@kernel.org>
Fri, 9 May 2025 11:14:02 +0000 (13:14 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 9 May 2025 11:14:02 +0000 (13:14 +0200)
Joel Savitz <jsavitz@redhat.com> says:

The two patches are independent of each other. The first patch removes
unnecssary NULL guards from free_nsproxy() and create_new_namespaces()
in line with other usage of the put_*_ns() call sites. The second patch
slightly reduces the size of the kernel when CONFIG_CGROUPS is not
selected.

* patches from https://lore.kernel.org/20250508184930.183040-1-jsavitz@redhat.com:
  include/cgroup: separate {get,put}_cgroup_ns no-op case
  kernel/nsproxy: remove unnecessary guards

Link: https://lore.kernel.org/20250508184930.183040-1-jsavitz@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>

Trivial merge