diff options
author | Michael McConville <mmcco@mykolab.com> | 2016-04-29 21:10:05 -0400 |
---|---|---|
committer | Michael McConville <mmcco@mykolab.com> | 2016-04-29 21:10:05 -0400 |
commit | 1809f4be984bed50e14778c284f2acbe87652e68 (patch) | |
tree | f9f522b9814e953d7901ca438a466a8f9ea55712 /openbsd | |
parent | 306c5443ae0aec17c26f194ef624b6c4cc5b30de (diff) |
Remove needless allocation error conditions
These allocations were converted to use xMalloc et al. and no longer
need error checks.
Diffstat (limited to 'openbsd')
-rw-r--r-- | openbsd/Platform.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/openbsd/Platform.c b/openbsd/Platform.c index 251a7136..9273abc0 100644 --- a/openbsd/Platform.c +++ b/openbsd/Platform.c @@ -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) { |