daandemeyer / rpms / systemd

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