summaryrefslogtreecommitdiff
path: root/usr.sbin/ifstated/ifstated.c
diff options
context:
space:
mode:
authorrob <rob@cvs.openbsd.org>2017-08-14 03:15:29 +0000
committerrob <rob@cvs.openbsd.org>2017-08-14 03:15:29 +0000
commit4ee3f12f099aa84be1d31c8a53cb7235e7d3df99 (patch)
tree51720c1662fab2114066973da5590ab6508dfd5c /usr.sbin/ifstated/ifstated.c
parenta9b491bcead37bef17609f3ceba222c5d03ef8ba (diff)
Remove some dead logging code that was never used.
Ok benno@
Diffstat (limited to 'usr.sbin/ifstated/ifstated.c')
-rw-r--r--usr.sbin/ifstated/ifstated.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/ifstated/ifstated.c b/usr.sbin/ifstated/ifstated.c
index d536da825e4..ba2b89f9321 100644
--- a/usr.sbin/ifstated/ifstated.c
+++ b/usr.sbin/ifstated/ifstated.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifstated.c,v 1.58 2017/08/08 14:09:38 rob Exp $ */
+/* $OpenBSD: ifstated.c,v 1.59 2017/08/14 03:15:28 rob Exp $ */
/*
* Copyright (c) 2004 Marco Pfatschbacher <mpf@openbsd.org>
@@ -656,9 +656,6 @@ remove_action(struct ifsd_action *action, struct ifsd_state *state)
return;
switch (action->type) {
- case IFSD_ACTION_LOG:
- free(action->act.logmessage);
- break;
case IFSD_ACTION_COMMAND:
free(action->act.command);
break;