Remove needless allocation error conditions

These allocations were converted to use xMalloc et al. and no longer
need error checks.
This commit is contained in:
Michael McConville
2016-04-29 21:10:05 -04:00
parent 306c5443ae
commit 1809f4be98
2 changed files with 3 additions and 8 deletions

View File

@ -265,9 +265,6 @@ void Platform_setSwapValues(Meter* this) {
}
swdev = xCalloc(nswap, sizeof(*swdev));
if (swdev == NULL) {
return;
}
rnswap = swapctl(SWAP_STATS, swdev, nswap);
if (rnswap == -1) {