diff options
author | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-05-31 20:30:16 +0000 |
---|---|---|
committer | Jacek Masiulaniec <jacekm@cvs.openbsd.org> | 2009-05-31 20:30:16 +0000 |
commit | 21bbe0c9dab80460c4b17c0ec48ba91dea34a953 (patch) | |
tree | f030568df05eae168cb2e60f43b961030ffe70e4 /usr.sbin/ospf6d/rde.c | |
parent | 64977f7811cee6e49d680cf47e3a4ab0291e5a8d (diff) |
Remove redundant imsg_event_add calls; ok claudio@
Diffstat (limited to 'usr.sbin/ospf6d/rde.c')
-rw-r--r-- | usr.sbin/ospf6d/rde.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ospf6d/rde.c b/usr.sbin/ospf6d/rde.c index 20b27a5aaf1..5f110a2db0b 100644 --- a/usr.sbin/ospf6d/rde.c +++ b/usr.sbin/ospf6d/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.29 2009/05/31 17:00:40 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.30 2009/05/31 20:29:56 jacekm Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org> @@ -264,7 +264,6 @@ rde_dispatch_imsg(int fd, short event, void *bula) if (event & EV_WRITE) { if (msgbuf_write(&ibuf->w) == -1) fatal("msgbuf_write"); - imsg_event_add(ibuf); } clock_gettime(CLOCK_MONOTONIC, &tp); @@ -633,7 +632,6 @@ rde_dispatch_parent(int fd, short event, void *bula) if (event & EV_WRITE) { if (msgbuf_write(&ibuf->w) == -1) fatal("msgbuf_write"); - imsg_event_add(ibuf); } for (;;) { |