summaryrefslogtreecommitdiff
path: root/ssl/pqueue.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-11 13:46:11 +0100
committerMatt Caswell <matt@openssl.org>2016-04-11 14:31:26 +0100
commitf8c3f2b4eda697a35b213d44df627190d03c694f (patch)
treeca39f545ef8db6eaf335430c41efa73e4ef8c1af /ssl/pqueue.c
parent2af22b7dd56e5464984aeaf9c025674deef3aada (diff)
downloadopenssl-new-f8c3f2b4eda697a35b213d44df627190d03c694f.tar.gz
Remove an unused function
The function pqueue_print is not exported and is never called. Therefore we should delete it. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl/pqueue.c')
-rw-r--r--ssl/pqueue.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/ssl/pqueue.c b/ssl/pqueue.c
index c9f21ca865..d6cef34a1c 100644
--- a/ssl/pqueue.c
+++ b/ssl/pqueue.c
@@ -171,20 +171,6 @@ pitem *pqueue_find(pqueue *pq, unsigned char *prio64be)
return found;
}
-void pqueue_print(pqueue *pq)
-{
- pitem *item = pq->items;
-
- while (item != NULL) {
- printf("item\t%02x%02x%02x%02x%02x%02x%02x%02x\n",
- item->priority[0], item->priority[1],
- item->priority[2], item->priority[3],
- item->priority[4], item->priority[5],
- item->priority[6], item->priority[7]);
- item = item->next;
- }
-}
-
pitem *pqueue_iterator(pqueue *pq)
{
return pqueue_peek(pq);