summaryrefslogtreecommitdiff
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 15:12:39 +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 15:12:39 +0000
commit588abed2a7df4fa1723475e41399876f3ee34250 (patch)
treeb4caaab9439eea72f31b845a078061cd5b5f0462
parente7fe750ed1ba9db1c98e27b9721b49f78c39a15c (diff)
downloadconntrack-tools-588abed2a7df4fa1723475e41399876f3ee34250.tar.gz
conntrack-tools-588abed2a7df4fa1723475e41399876f3ee34250.zip
remove unrequired list_del_init in alarm.c
-rw-r--r--src/alarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alarm.c b/src/alarm.c
index 0fe80ee..d00e281 100644
--- a/src/alarm.c
+++ b/src/alarm.c
@@ -70,7 +70,7 @@ void del_alarm(struct alarm_list *alarm)
void mod_alarm(struct alarm_list *alarm, unsigned long sc, unsigned long usc)
{
- list_del_init(&alarm->head);
+ list_del(&alarm->head);
set_alarm_expiration(alarm, sc, usc);
add_alarm(alarm);
}