svn commit: r352602 - stable/12/sys/kern
Mark Johnston
markj at FreeBSD.org
Sun Sep 22 18:07:53 UTC 2019
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;
}
More information about the svn-src-all
mailing list