b9a53a
From d6935e61de30967aa82b7722f36193ba782b75e4 Mon Sep 17 00:00:00 2001
b9a53a
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
b9a53a
Date: Sun, 19 May 2019 18:08:39 +0200
b9a53a
Subject: [PATCH] shared/cpu-set-util: remove now-unused CPU_SIZE_TO_NUM()
b9a53a
b9a53a
(cherry picked from commit b12ef7141648be40fd8c4b0209a742f2151736d9)
b9a53a
b9a53a
Related: #1734787
b9a53a
---
b9a53a
 src/basic/cpu-set-util.h | 6 ------
b9a53a
 1 file changed, 6 deletions(-)
b9a53a
b9a53a
diff --git a/src/basic/cpu-set-util.h b/src/basic/cpu-set-util.h
b9a53a
index 3c546beb55..20612a8876 100644
b9a53a
--- a/src/basic/cpu-set-util.h
b9a53a
+++ b/src/basic/cpu-set-util.h
b9a53a
@@ -9,12 +9,6 @@
b9a53a
 
b9a53a
 #include "macro.h"
b9a53a
 
b9a53a
-#ifdef __NCPUBITS
b9a53a
-#define CPU_SIZE_TO_NUM(n) ((n) * __NCPUBITS)
b9a53a
-#else
b9a53a
-#define CPU_SIZE_TO_NUM(n) ((n) * sizeof(cpu_set_t) * 8)
b9a53a
-#endif
b9a53a
-
b9a53a
 DEFINE_TRIVIAL_CLEANUP_FUNC(cpu_set_t*, CPU_FREE);
b9a53a
 #define _cleanup_cpu_free_ _cleanup_(CPU_FREEp)
b9a53a