diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-05-19 18:08:39 +0200 |
---|---|---|
committer | The Plumber <50238977+systemd-rhel-bot@users.noreply.github.com> | 2019-12-05 15:17:20 +0100 |
commit | d6935e61de30967aa82b7722f36193ba782b75e4 (patch) | |
tree | 3426864d749c220c4ec6c9811bc6fd3f7a44cad3 | |
parent | 46b4d26c54a773f7da350e89562039ccc5157a8f (diff) | |
download | systemd-d6935e61de30967aa82b7722f36193ba782b75e4.tar.gz |
shared/cpu-set-util: remove now-unused CPU_SIZE_TO_NUM()
(cherry picked from commit b12ef7141648be40fd8c4b0209a742f2151736d9)
Related: #1734787
-rw-r--r-- | src/basic/cpu-set-util.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/basic/cpu-set-util.h b/src/basic/cpu-set-util.h index 3c546beb55..20612a8876 100644 --- a/src/basic/cpu-set-util.h +++ b/src/basic/cpu-set-util.h @@ -9,12 +9,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) |