summaryrefslogtreecommitdiff
path: root/rpmio/rpmpgp.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmio/rpmpgp.c')
-rw-r--r--rpmio/rpmpgp.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/rpmio/rpmpgp.c b/rpmio/rpmpgp.c
index 353f826da..1335d31cb 100644
--- a/rpmio/rpmpgp.c
+++ b/rpmio/rpmpgp.c
@@ -173,18 +173,6 @@ struct pgpValTbl_s pgpArmorKeyTbl[] = {
{ -1, "Unknown armor key" }
};
-/**
- * Wrapper to free(3), hides const compilation noise, permit NULL, return NULL.
- * @param p memory to free
- * @return NULL always
- */
-static inline void *
-_free(const void * p)
-{
- if (p != NULL) free((void *)p);
- return NULL;
-}
-
static void pgpPrtNL(void)
{
if (!_print) return;