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