From: Zbigniew Jędrzejewski-Szmek Date: Sun, 19 May 2019 16:08:39 +0000 (+0200) Subject: shared/cpu-set-util: remove now-unused CPU_SIZE_TO_NUM() X-Git-Tag: v243-rc1~340^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b12ef7141648be40fd8c4b0209a742f2151736d9;p=thirdparty%2Fsystemd.git shared/cpu-set-util: remove now-unused CPU_SIZE_TO_NUM() --- diff --git a/src/shared/cpu-set-util.h b/src/shared/cpu-set-util.h index fea8ac83626..9574b815829 100644 --- a/src/shared/cpu-set-util.h +++ b/src/shared/cpu-set-util.h @@ -5,12 +5,6 @@ #include "macro.h" -#ifdef __NCPUBITS -#define CPU_SIZE_TO_NUM(n) ((n) * __NCPUBITS) -#else -#define CPU_SIZE_TO_NUM(n) ((n) * sizeof(cpu_set_t) * 8) -#endif - DEFINE_TRIVIAL_CLEANUP_FUNC(cpu_set_t*, CPU_FREE); #define _cleanup_cpu_free_ _cleanup_(CPU_FREEp)