discover: remove unused user_event_trigger
authorJeremy Kerr <jk@ozlabs.org>
Fri, 12 Jul 2013 06:31:49 +0000 (14:31 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 19 Aug 2013 05:27:59 +0000 (13:27 +0800)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/pb-discover.c
discover/user-event.c
discover/user-event.h

index 70f0365af65fa76281311a52eb603adcb4555801..a0535c2f5e6639a423ffba3bcd534aae408ba8fc 100644 (file)
@@ -184,8 +184,6 @@ int main(int argc, char *argv[])
        if (!uev)
                return EXIT_FAILURE;
 
-       user_event_trigger(uev);
-
        for (running = 1; running;) {
                if (waiter_poll(waitset))
                        break;
index 013357b49bff6340f671af561d0cb25ec12a18fc..ae4e9f0a4723913e67fbbe4128356b5fa8465017 100644 (file)
@@ -170,17 +170,6 @@ out_err:
        return NULL;
 }
 
-/**
- * user_event_trigger - Trigger known user events
- *
- * SIGUSR1 causes udhcpc to renew the current lease or obtain a new lease.
- */
-
-void user_event_trigger(struct user_event __attribute__((unused)) *uev)
-{
-       /* FIXME: todo */
-}
-
 void user_event_destroy(struct user_event *uev)
 {
        talloc_free(uev);
index 383bdd0732239465f3696fb15d50c9ee57522917..488f04af089050c8a49ab1499228152e8f0a17d6 100644 (file)
@@ -29,7 +29,6 @@ struct waitset;
 
 struct user_event *user_event_init(struct waitset *waitset,
                struct device_handler *handler);
-void user_event_trigger(struct user_event *uev);
 void user_event_destroy(struct user_event *uev);
 
 #endif