summaryrefslogtreecommitdiff
path: root/evport.c
diff options
context:
space:
mode:
authorNiels Provos <provos@gmail.com>2007-12-09 05:07:20 +0000
committerNiels Provos <provos@gmail.com>2007-12-09 05:07:20 +0000
commitfbe24f43ab56deb2fd50fa4ca1756069c2c9123e (patch)
treeae281e3f8aa6f5b086f388331d8af4bfe5882aff /evport.c
parentfa89d661d91b584df308c097c0eec2d949b6fc55 (diff)
downloadlibevent-fbe24f43ab56deb2fd50fa4ca1756069c2c9123e.tar.gz
remove obsoleted recalc code
svn:r581
Diffstat (limited to 'evport.c')
-rw-r--r--evport.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/evport.c b/evport.c
index 76688e0e..c5d24e70 100644
--- a/evport.c
+++ b/evport.c
@@ -47,8 +47,7 @@
* necessary when large fd's come in. reassociate() takes care of maintaining
* the proper file-descriptor/event-port associations.
*
- * As in the select(2) implementation, signals are handled by evsignal, and
- * evport_recalc does almost nothing.
+ * As in the select(2) implementation, signals are handled by evsignal.
*/
#ifdef HAVE_CONFIG_H
@@ -119,7 +118,6 @@ struct evport_data {
static void* evport_init (struct event_base *);
static int evport_add (void *, struct event *);
static int evport_del (void *, struct event *);
-static int evport_recalc (struct event_base *, void *, int);
static int evport_dispatch (struct event_base *, void *, struct timeval *);
static void evport_dealloc (struct event_base *, void *);
@@ -128,7 +126,6 @@ const struct eventop evportops = {
evport_init,
evport_add,
evport_del,
- evport_recalc,
evport_dispatch,
evport_dealloc
};
@@ -396,19 +393,6 @@ evport_dispatch(struct event_base *base, void *arg, struct timeval *tv)
/*
- * Copied from the version in select.c
- */
-
-static int
-evport_recalc(struct event_base *base, void *arg, int max)
-{
- struct evport_data *evpd = arg;
- check_evportop(evpd);
- return (0);
-}
-
-
-/*
* Adds the given event (so that you will be notified when it happens via
* the callback function).
*/