cgroupv1HasHugetlb() and cgroupv2HasHugetlb() may return errors, but nobody (there's just one call site anyways) ever cares. So drop the unnecessary code. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>