Date: Sun, 22 Sep 2019 18:07:53 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r352602 - stable/12/sys/kern Message-ID: <201909221807.x8MI7r17002532@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Sun Sep 22 18:07:52 2019 New Revision: 352602 URL: https://svnweb.freebsd.org/changeset/base/352602 Log: MFC r352256: Remove a redundant NULL pointer check in cpuset_modify_domain(). Modified: stable/12/sys/kern/kern_cpuset.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/kern/kern_cpuset.c ============================================================================== --- stable/12/sys/kern/kern_cpuset.c Sun Sep 22 17:39:20 2019 (r352601) +++ stable/12/sys/kern/kern_cpuset.c Sun Sep 22 18:07:52 2019 (r352602) @@ -796,7 +796,7 @@ cpuset_modify_domain(struct cpuset *set, struct domain /* * Verify that we have access to this set of domains. */ - if (root && !domainset_valid(dset, domain)) { + if (!domainset_valid(dset, domain)) { error = EINVAL; goto out; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909221807.x8MI7r17002532>