daandemeyer / rpms / systemd

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