teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0280-shared-cpu-set-util-drop-now-unused-cleanup-function.patch

4fbe94
From 7aa32093c3dfc4bf7298f02be553e95c40d7c211 Mon Sep 17 00:00:00 2001
4fbe94
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
4fbe94
Date: Tue, 28 May 2019 21:40:10 +0200
4fbe94
Subject: [PATCH] shared/cpu-set-util: drop now-unused cleanup function
4fbe94
4fbe94
(cherry picked from commit cb0d3acf55ef335001cac5dd9c335ec5e75e9b56)
4fbe94
4fbe94
Related: #1734787
4fbe94
---
4fbe94
 src/basic/cpu-set-util.h | 3 ---
4fbe94
 1 file changed, 3 deletions(-)
4fbe94
4fbe94
diff --git a/src/basic/cpu-set-util.h b/src/basic/cpu-set-util.h
4fbe94
index b54e737110..68a73bf9f7 100644
4fbe94
--- a/src/basic/cpu-set-util.h
4fbe94
+++ b/src/basic/cpu-set-util.h
4fbe94
@@ -9,9 +9,6 @@
4fbe94
 
4fbe94
 #include "macro.h"
4fbe94
 
4fbe94
-DEFINE_TRIVIAL_CLEANUP_FUNC(cpu_set_t*, CPU_FREE);
4fbe94
-#define _cleanup_cpu_free_ _cleanup_(CPU_FREEp)
4fbe94
-
4fbe94
 /* This wraps the libc interface with a variable to keep the allocated size. */
4fbe94
 typedef struct CPUSet {
4fbe94
         cpu_set_t *set;