From 21bbe0c9dab80460c4b17c0ec48ba91dea34a953 Mon Sep 17 00:00:00 2001 From: Jacek Masiulaniec Date: Sun, 31 May 2009 20:30:16 +0000 Subject: Remove redundant imsg_event_add calls; ok claudio@ --- usr.sbin/ospf6d/rde.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr.sbin/ospf6d/rde.c') 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 @@ -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 (;;) { -- cgit v1.2.3