cleanup_charp() appears to have been copied from libnvme,
but it has no users. _cleanup_free_ is more general, anyways.
So remove cleanup_charp() along with cleanup.c.
Signed-off-by: Caleb Sander <csander@purestorage.com>
+++ /dev/null
-// SPDX-License-Identifier: GPL-2.0-or-later
-#include <stdlib.h>
-#include "cleanup.h"
-
-DEFINE_CLEANUP_FUNC(cleanup_charp, char *, free);
free_fn(*__p); \
}
-DECLARE_CLEANUP_FUNC(cleanup_charp, char *);
-
static inline void freep(void *p)
{
free(*(void**) p);
sources += [
'util/argconfig.c',
'util/base64.c',
- 'util/cleanup.c',
'util/crc32.c',
'util/mem.c',
'util/suffix.c',