summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 14:55:00 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 14:55:00 +0000
commit4058f37c5bd53ace781d1d3b5c722474148f0365 (patch)
treeb0ad07e9849d98a43592d57b6d6b7606ab1b3a3a /src
parente8c9c3c477d68e10719d829ede6f4cb3087f0efd (diff)
downloadconntrack-tools-4058f37c5bd53ace781d1d3b5c722474148f0365.tar.gz
conntrack-tools-4058f37c5bd53ace781d1d3b5c722474148f0365.zip
Max Kellermann <max@duempel.org>:
don't call INIT_LIST_HEAD on list item when unneeded
Diffstat (limited to 'src')
-rw-r--r--src/queue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/queue.c b/src/queue.c
index 80b3342..a721760 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -55,7 +55,6 @@ static struct queue_node *queue_node_create(const void *data, size_t size)
if (n == NULL)
return NULL;
- INIT_LIST_HEAD(&n->head);
n->size = size;
memcpy(n->data, data, size);