mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
posixshm_test.c: remove tautological checks
Reviewed by: kib, markj Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D27564
This commit is contained in:
parent
6d759051d3
commit
c821ba35b6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368570
|
@ -1322,7 +1322,6 @@ ATF_TC_BODY(largepage_mlock, tc)
|
|||
error = sysctlbyname("vm.max_user_wired", &max_wired, &sz, NULL, 0);
|
||||
ATF_REQUIRE_MSG(error == 0,
|
||||
"sysctlbyname(vm.max_user_wired) failed; error=%d", errno);
|
||||
ATF_REQUIRE(max_wired >= 0);
|
||||
|
||||
sz = sizeof(wired);
|
||||
error = sysctlbyname("vm.stats.vm.v_user_wire_count", &wired, &sz, NULL,
|
||||
|
@ -1330,7 +1329,6 @@ ATF_TC_BODY(largepage_mlock, tc)
|
|||
ATF_REQUIRE_MSG(error == 0,
|
||||
"sysctlbyname(vm.stats.vm.v_user_wire_count) failed; error=%d",
|
||||
errno);
|
||||
ATF_REQUIRE(wired >= 0);
|
||||
|
||||
pscnt = pagesizes(ps);
|
||||
for (int i = 1; i < pscnt; i++) {
|
||||
|
|
Loading…
Reference in a new issue